Skip to content

Commit 8a78116

Browse files
committed
De-dup typing examples names; fix PR template
1 parent 27b3c37 commit 8a78116

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ If your pull request is a documentation fix or a trivial typo, feel free to dele
2121
Our CI fails if coverage is not 100%.
2222
- [ ] New features have been added to our [Hypothesis testing strategy](https://github.com/python-attrs/attrs/blob/main/tests/strategies.py).
2323
- [ ] Changes or additions to public APIs are reflected in our type stubs (files ending in ``.pyi``).
24-
- [ ] ...and used in the stub test file `tests/typing_example.py`.
24+
- [ ] ...and used in the stub test file `typing-examples/baseline.py` or, if necessary, `typing-examples/mypy.py`.
2525
- [ ] If they've been added to `attr/__init__.pyi`, they've *also* been re-imported in `attrs/__init__.pyi`.
2626
- [ ] Updated **documentation** for changed code.
2727
- [ ] New functions/classes have to be added to `docs/api.rst` by hand.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,4 +305,4 @@ check_untyped_defs = true
305305

306306

307307
[tool.pyright]
308-
include = ["typing-examples/baseline_examples.py"]
308+
include = ["typing-examples/baseline.py"]

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,16 +127,16 @@ commands =
127127
[testenv:typing-pyright]
128128
dependency_groups = pyright
129129
commands =
130-
pyright typing-examples/baseline_examples.py
130+
pyright typing-examples/baseline.py
131131
pytest tests/test_pyright.py -vv
132132

133133
[testenv:typing-ty]
134134
dependency_groups = ty
135-
commands = ty check typing-examples/baseline_examples.py
135+
commands = ty check typing-examples/baseline.py
136136

137137
[testenv:typing-pyrefly]
138138
dependency_groups = pyrefly
139-
commands = pyrefly check typing-examples/baseline_examples.py
139+
commands = pyrefly check typing-examples/baseline.py
140140

141141

142142
[testenv:docset]
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)