Skip to content

Commit 68d4145

Browse files
committed
🖌️ format files with dprint
1 parent 020e137 commit 68d4145

File tree

22 files changed

+394
-405
lines changed

22 files changed

+394
-405
lines changed

.github/ISSUE_TEMPLATE/bug-report.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ body:
5151
attributes:
5252
label: "Type-checker version and configuration:"
5353
description: >
54-
Please include the exact version of the type-checker you are using.
54+
Please include the exact version of the type-checker you are using.
5555
Popular (static) type checkers include Mypy, Pyright / Pylance, Pytype, Pyre, PyCharm, etc.
5656
Also include the full CLI command used to run the type-checker, and all of the relevant configuration options.
5757
validations:

.github/ISSUE_TEMPLATE/documentation.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ title: "<Please write a comprehensive title>"
44
labels: ["topic: Docs"]
55

66
body:
7-
- type: textarea
8-
attributes:
9-
label: "Issue with current documentation:"
10-
description: >
11-
Please make sure to leave a reference to the document/code you're
12-
referring to. You can also check the development version of the
13-
documentation.
7+
- type: textarea
8+
attributes:
9+
label: "Issue with current documentation:"
10+
description: >
11+
Please make sure to leave a reference to the document/code you're
12+
referring to. You can also check the development version of the
13+
documentation.
1414
15-
- type: textarea
16-
attributes:
17-
label: "Idea or request for content:"
18-
description: Please describe as clearly as possible what topics you think are missing from the current documentation.
15+
- type: textarea
16+
attributes:
17+
label: "Idea or request for content:"
18+
description: Please describe as clearly as possible what topics you think are missing from the current documentation.

.github/ISSUE_TEMPLATE/feature-request.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ description: Suggest an improvement or propose a new feature.
33
title: "<Please write a comprehensive title>"
44
labels: ["stubs: Enhancement"]
55
body:
6-
- type: markdown
7-
attributes:
8-
value: >
9-
If you're looking to request a new feature or change in functionality,
10-
including adding or changing the meaning of arguments to an existing
11-
function.
6+
- type: markdown
7+
attributes:
8+
value: >
9+
If you're looking to request a new feature or change in functionality,
10+
including adding or changing the meaning of arguments to an existing
11+
function.
1212
13-
- type: textarea
14-
attributes:
15-
label: "Please describe the feature or change you would like to see:"
16-
validations:
17-
required: true
13+
- type: textarea
14+
attributes:
15+
label: "Please describe the feature or change you would like to see:"
16+
validations:
17+
required: true

.github/labeler.yml

+97-98
Original file line numberDiff line numberDiff line change
@@ -1,155 +1,154 @@
11
"numpy.ctypeslib.*":
2-
- changed-files:
3-
- any-glob-to-any-file:
4-
- src/numpy-stubs/ctypeslib.pyi
2+
- changed-files:
3+
- any-glob-to-any-file:
4+
- src/numpy-stubs/ctypeslib.pyi
55

66
"numpy.distutils.*":
7-
- changed-files:
8-
- any-glob-to-any-file:
9-
- src/numpy-stubs/distutils/**
7+
- changed-files:
8+
- any-glob-to-any-file:
9+
- src/numpy-stubs/distutils/**
1010

1111
"numpy.dtype":
12-
- changed-files:
13-
- any-glob-to-any-file:
14-
- src/numpy-stubs/dtypes.pyi
12+
- changed-files:
13+
- any-glob-to-any-file:
14+
- src/numpy-stubs/dtypes.pyi
1515

1616
"numpy.dtypes.*":
17-
- changed-files:
18-
- any-glob-to-any-file:
19-
- src/numpy-stubs/dtypes.pyi
17+
- changed-files:
18+
- any-glob-to-any-file:
19+
- src/numpy-stubs/dtypes.pyi
2020

2121
"numpy.emath.*":
22-
- changed-files:
23-
- any-glob-to-any-file:
24-
- src/numpy-stubs/lib/_scimath_impl.pyi
25-
- src/numpy-stubs/lib/scimath.pyi
22+
- changed-files:
23+
- any-glob-to-any-file:
24+
- src/numpy-stubs/lib/_scimath_impl.pyi
25+
- src/numpy-stubs/lib/scimath.pyi
2626

2727
"numpy.f2py.*":
28-
- changed-files:
29-
- any-glob-to-any-file:
30-
- src/numpy-stubs/f2py/**
28+
- changed-files:
29+
- any-glob-to-any-file:
30+
- src/numpy-stubs/f2py/**
3131

3232
"numpy.fft.*":
33-
- changed-files:
34-
- any-glob-to-any-file:
35-
- src/numpy-stubs/fft/**
33+
- changed-files:
34+
- any-glob-to-any-file:
35+
- src/numpy-stubs/fft/**
3636

3737
"numpy.linalg.*":
38-
- changed-files:
39-
- any-glob-to-any-file:
40-
- src/numpy-stubs/linalg/**
38+
- changed-files:
39+
- any-glob-to-any-file:
40+
- src/numpy-stubs/linalg/**
4141

4242
"numpy.ma.*":
43-
- changed-files:
44-
- any-glob-to-any-file:
45-
- src/numpy-stubs/ma/**
43+
- changed-files:
44+
- any-glob-to-any-file:
45+
- src/numpy-stubs/ma/**
4646

4747
"numpy.matlib.*":
48-
- changed-files:
49-
- any-glob-to-any-file:
50-
- src/numpy-stubs/matlib.pyi
48+
- changed-files:
49+
- any-glob-to-any-file:
50+
- src/numpy-stubs/matlib.pyi
5151

5252
"numpy.matrixlib.*":
53-
- changed-files:
54-
- any-glob-to-any-file:
55-
- src/numpy-stubs/matrixlib/**
53+
- changed-files:
54+
- any-glob-to-any-file:
55+
- src/numpy-stubs/matrixlib/**
5656

5757
"numpy.poly*":
58-
- changed-files:
59-
- any-glob-to-any-file:
60-
- src/numpy-stubs/lib/_polynomial_impl.pyi
58+
- changed-files:
59+
- any-glob-to-any-file:
60+
- src/numpy-stubs/lib/_polynomial_impl.pyi
6161

6262
"numpy.polynomial.*":
63-
- changed-files:
64-
- any-glob-to-any-file:
65-
- src/numpy-stubs/polynomial/**
63+
- changed-files:
64+
- any-glob-to-any-file:
65+
- src/numpy-stubs/polynomial/**
6666

6767
"numpy.random.*":
68-
- changed-files:
69-
- any-glob-to-any-file:
70-
- src/numpy-stubs/random/**
68+
- changed-files:
69+
- any-glob-to-any-file:
70+
- src/numpy-stubs/random/**
7171

7272
"numpy.rec.*":
73-
- changed-files:
74-
- any-glob-to-any-file:
75-
- src/numpy-stubs/rec/**
73+
- changed-files:
74+
- any-glob-to-any-file:
75+
- src/numpy-stubs/rec/**
7676

7777
"numpy.strings.*":
78-
- changed-files:
79-
- any-glob-to-any-file:
80-
- src/numpy-stubs/_core/strings.pyi
81-
- src/numpy-stubs/strings/**.pyi
78+
- changed-files:
79+
- any-glob-to-any-file:
80+
- src/numpy-stubs/_core/strings.pyi
81+
- src/numpy-stubs/strings/**.pyi
8282

8383
"numpy.testing.*":
84-
- changed-files:
85-
- any-glob-to-any-file:
86-
- src/numpy-stubs/testing/**
84+
- changed-files:
85+
- any-glob-to-any-file:
86+
- src/numpy-stubs/testing/**
8787

8888
"numpy.ufunc":
89-
- changed-files:
90-
- any-glob-to-any-file:
91-
- src/numpy-stubs/_core/umath.pyi
89+
- changed-files:
90+
- any-glob-to-any-file:
91+
- src/numpy-stubs/_core/umath.pyi
9292

9393
"numpy._utils":
94-
- changed-files:
95-
- any-glob-to-any-file:
96-
- src/numpy-stubs/_utils/**
94+
- changed-files:
95+
- any-glob-to-any-file:
96+
- src/numpy-stubs/_utils/**
9797

9898
"numpy.version.*":
99-
- changed-files:
100-
- any-glob-to-any-file:
101-
- src/numpy-stubs/version.pyi
99+
- changed-files:
100+
- any-glob-to-any-file:
101+
- src/numpy-stubs/version.pyi
102102

103-
# Documentation and Testing
103+
# Documentation and Testing
104104

105105
"topic: documentation":
106-
- changed-files:
107-
- any-glob-to-any-file:
108-
- docs/**
109-
- README.md
110-
- CONTRIBUTING.md
111-
- mkdocs.yml
106+
- changed-files:
107+
- any-glob-to-any-file:
108+
- docs/**
109+
- README.md
110+
- CONTRIBUTING.md
111+
- mkdocs.yml
112112

113113
"topic: testing":
114-
- changed-files:
115-
- any-glob-to-any-file:
116-
- src/**/@test/**
117-
- tool/test/**
114+
- changed-files:
115+
- any-glob-to-any-file:
116+
- src/**/@test/**
117+
- tool/test/**
118118

119-
# Tools and Configuration
119+
# Tools and Configuration
120120

121121
"tool: stubtest":
122-
- changed-files:
123-
- any-glob-to-any-file:
124-
- tool/allowlists/**
125-
- tool/stubtest.py
122+
- changed-files:
123+
- any-glob-to-any-file:
124+
- tool/allowlists/**
125+
- tool/stubtest.py
126126

127127
"tool: github-actions":
128-
- changed-files:
129-
- any-glob-to-any-file:
130-
- .github/workflows/**
128+
- changed-files:
129+
- any-glob-to-any-file:
130+
- .github/workflows/**
131131

132132
"topic: dependencies":
133-
- changed-files:
134-
- any-glob-to-any-file:
135-
- uv.lock
136-
- tool/*.lock
133+
- changed-files:
134+
- any-glob-to-any-file:
135+
- uv.lock
136+
- tool/*.lock
137137

138138
"topic: developer experience":
139-
- changed-files:
140-
- any-glob-to-any-file:
141-
- .vscode/**
142-
- lefthook.yml
139+
- changed-files:
140+
- any-glob-to-any-file:
141+
- .vscode/**
142+
- lefthook.yml
143143

144144
"topic: automation":
145-
- changed-files:
146-
- any-glob-to-any-file:
147-
- .github/workflows/**
148-
- tool/testgen.py
145+
- changed-files:
146+
- any-glob-to-any-file:
147+
- .github/workflows/**
148+
- tool/testgen.py
149149

150150
"topic: code style":
151-
- changed-files:
152-
- any-glob-to-any-file:
153-
- .taplo.toml
154-
- **/.ruff.toml
155-
151+
- changed-files:
152+
- any-glob-to-any-file:
153+
- .taplo.toml
154+
- **/.ruff.toml

.taplo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ column_width = 88
1313
compact_arrays = true
1414
compact_inline_tables = true
1515
crlf = false
16-
indent_string = " " # 4 spaces
16+
indent_string = " " # 4 spaces
1717
indent_tables = true
1818
reorder_keys = false
1919
reorder_arrays = false

CONTRIBUTING.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@ grow.
66

77
Pull requests (PRs) are always welcome, but making a PR is just the
88
start. Please respond to comments and requests for changes to help move
9-
the process forward. Please follow our [Code of
10-
Conduct](https://numpy.org/code-of-conduct/), which applies to all
9+
the process forward. Please follow our [Code of Conduct](https://numpy.org/code-of-conduct/), which applies to all
1110
interactions, including issues and PRs.
1211

1312
For more, please read <https://www.numpy.org/devdocs/dev/index.html>
1413

1514
Thank you for contributing, and happy coding!
1615

17-
______________________________________________________________________
16+
---
1817

1918
<!--overview-start-->
2019

docs/contributing.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ hide:
66
# Contributing to NumType
77

88
{%
9-
include-markdown "../CONTRIBUTING.md"
10-
start="<!--overview-start-->"
11-
end="<!--overview-end-->"
9+
include-markdown "../CONTRIBUTING.md"
10+
start="<!--overview-start-->"
11+
end="<!--overview-end-->"
1212
%}

0 commit comments

Comments
 (0)