File tree Expand file tree Collapse file tree 4 files changed +11
-30
lines changed Expand file tree Collapse file tree 4 files changed +11
-30
lines changed Original file line number Diff line number Diff line change 1717 with :
1818 python-version : ${{ matrix.python-version }}
1919 - name : Install deploy dependencies
20- run : pip install .[deploy]
21- - name : Install test dependencies
22- run : pip install .[test]
20+ run : pip install --group deploy
2321 - name : Install code dependencies
2422 run : pip install .
2523 - name : Lint with pylint
Original file line number Diff line number Diff line change @@ -19,20 +19,12 @@ jobs:
1919 with :
2020 python-version : ${{ matrix.python-version }}
2121 - name : Install deploy dependencies
22- run : |
23- pip install .[deploy]
24- - name : Install test dependencies
25- run : |
26- pip install .[test]
22+ run : pip install --group deploy
2723 - name : Install code dependencies
28- run : |
29- pip install .
24+ run : pip install .
3025 - name : Lint with pylint
31- run : |
32- pylint -E src
26+ run : pylint -E src
3327 - name : Security vulnerability analysis with bandit
34- run : |
35- bandit -c pyproject.toml -r -lll .
28+ run : bandit -c pyproject.toml -r -lll .
3629 - name : Test with pytest
37- run : |
38- pytest
30+ run : pytest
Original file line number Diff line number Diff line change 1414 " -m" ,
1515 " pip" ,
1616 " install" ,
17- " --upgrade" ,
18- " setuptools" ,
19- " build" ,
20- " wheel" ,
21- " black" ,
22- " pylint" ,
23- " pytest" ,
24- " pytest-cov" ,
25- " isort" ,
26- " bandit" ,
27- " Sphinx" ,
28- " sphinx-rtd-theme"
17+ " --group" ,
18+ " deploy" ,
2919 ],
3020 "problemMatcher" : []
3121 },
Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ documentation = "https://www.semuconsulting.com/pygpsclient/"
5959repository = " https://github.com/semuconsulting/PyGPSClient"
6060changelog = " https://github.com/semuconsulting/PyGPSClient/blob/master/RELEASE_NOTES.md"
6161
62- [project . optional-dependencies ]
63- deploy = [
62+ [dependency-groups ]
63+ build = [
6464 " build" ,
6565 " packaging>=24.2" ,
6666 " pip" ,
@@ -79,6 +79,7 @@ test = [
7979 " Sphinx" ,
8080 " sphinx-rtd-theme" ,
8181]
82+ deploy = [{ include-group = " build" }, { include-group = " test" }]
8283
8384[tool .setuptools .dynamic ]
8485version = { attr = " pygpsclient._version.__version__" }
You can’t perform that action at this time.
0 commit comments