File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ jobs:
1313 runs-on : ubuntu-latest
1414 steps :
1515 - uses : actions/checkout@v4
16+ - uses : astral-sh/setup-uv@v5
1617 - name : " Main Script"
1718 run : |
18- pipx install ruff
19- ruff check
19+ uv run --only-group lint ruff check
2020
2121 typos :
2222 name : Typos
Original file line number Diff line number Diff line change @@ -121,8 +121,8 @@ Documentation:
121121Ruff :
122122 stage : test
123123 script :
124- - pipx install ruff
125- - ruff check
124+ - pipx install uv
125+ - uv run --only-group lint ruff check
126126 tags :
127127 - docker-runner
128128 except :
Original file line number Diff line number Diff line change @@ -40,12 +40,27 @@ dependencies = [
4040 " sympy>=0.7.2" ,
4141]
4242
43- [project .optional-dependencies ]
43+ [dependency-groups ]
44+ dev = [
45+ {include-group = " doc" },
46+ {include-group = " test" },
47+ {include-group = " lint" },
48+ ]
49+ lint = [
50+ " pylint" ,
51+ # https://github.com/astral-sh/ruff/issues/16943
52+ " ruff!=0.11.1,!=0.11.2" ,
53+ ]
4454doc = [
4555 " furo" ,
4656 " sphinx-copybutton" ,
4757 " sphinx>=4" ,
4858]
59+ test = [
60+ " pytest" ,
61+ ]
62+
63+ [project .optional-dependencies ]
4964fmmlib = [
5065 " pyfmmlib>=2023.1" ,
5166]
@@ -55,11 +70,6 @@ symengine = [
5570pyvkfft = [
5671 " pyvkfft>=2024.1" ,
5772]
58- test = [
59- " pylint" ,
60- " pytest" ,
61- " ruff" ,
62- ]
6373
6474[project .urls ]
6575Documentation = " https://documen.tician.de/sumpy"
You can’t perform that action at this time.
0 commit comments