File tree Expand file tree Collapse file tree 3 files changed +14
-10
lines changed
Expand file tree Collapse file tree 3 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 3737 with :
3838 version : " latest"
3939 - run : |
40- uv run --python=3.13 --extra =dev mypy --python-version=${{ matrix.python-version }}
40+ uv run --python=3.13 --group =dev mypy --python-version=${{ matrix.python-version }}
4141
4242 flake8 :
4343 name : flake8
4949 with :
5050 version : " latest"
5151 - run : |
52- uv run --python=3.13 --extra =dev flake8 $(git ls-files | grep 'py$') --color=always
52+ uv run --python=3.13 --group =dev flake8 $(git ls-files | grep 'py$') --color=always
5353
5454 tests :
5555 name : pytest suite
6666 with :
6767 version : " latest"
6868 - run : |
69- uv run --python=${{ matrix.python-version }} --extra =dev pytest -vv
69+ uv run --python=${{ matrix.python-version }} --group =dev pytest -vv
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ New error codes:
99Other changes:
1010* Y011/Y015 will now allow all defaults that include an attribute access,
1111 for example ` math.inf ` or enum members.
12+ * Development-only dependencies are now declared using
13+ [ dependency groups] ( https://packaging.python.org/en/latest/specifications/dependency-groups/ )
14+ rather than
15+ [ optional dependencies] ( https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#dependencies-and-requirements ) .
1216* Declare support for Python 3.14
1317
1418## 24.9.0
Original file line number Diff line number Diff line change @@ -51,13 +51,7 @@ dependencies = [
5151 " pyflakes >= 2.1.1" ,
5252]
5353
54- [project .urls ]
55- "Homepage" = " https://github.com/PyCQA/flake8-pyi"
56- "Source" = " https://github.com/PyCQA/flake8-pyi"
57- "Bug Tracker" = " https://github.com/PyCQA/flake8-pyi/issues"
58- "Changelog" = " https://github.com/PyCQA/flake8-pyi/blob/main/CHANGELOG.md"
59-
60- [project .optional-dependencies ]
54+ [dependency-groups ]
6155dev = [
6256 " black==25.1.0" , # Must match .pre-commit-config.yaml
6357 " flake8-bugbear==24.12.12" ,
@@ -70,6 +64,12 @@ dev = [
7064 " types-pyflakes<4" ,
7165]
7266
67+ [project .urls ]
68+ "Homepage" = " https://github.com/PyCQA/flake8-pyi"
69+ "Source" = " https://github.com/PyCQA/flake8-pyi"
70+ "Bug Tracker" = " https://github.com/PyCQA/flake8-pyi/issues"
71+ "Changelog" = " https://github.com/PyCQA/flake8-pyi/blob/main/CHANGELOG.md"
72+
7373[project .entry-points ]
7474"flake8.extension" = {Y0 = " pyi:PyiTreeChecker" }
7575
You can’t perform that action at this time.
0 commit comments