File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,12 @@ jobs:
3232 - name : Install package
3333 run : |
3434 pip install . --no-deps
35- - name : Format check with black
35+ - name : Format check with ruff
3636 run : |
37- black --check .
38- - name : Format ruff check
37+ ruff format . --diff
38+ - name : Lint check with ruff
3939 run : |
40- ruff check .
40+ ruff check . --output-format=github
4141
4242 test :
4343 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -65,11 +65,11 @@ exclude = [
6565 " .eggs" ,
6666 " docs" ,
6767]
68+
69+ [tool .ruff .lint ]
6870# E402: module level import not at top of file
69- # E501: line too long - let black worry about that
7071ignore = [
7172 " E402" ,
72- " E501" ,
7373]
7474select = [
7575 # Pyflakes
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ statsmodels==0.14.2
99pytest == 8.2.1
1010pytest-cov == 5.0.0
1111zarr == 2.18.2
12- black == 24.4.2
1312ruff == 0.4.5
1413netcdf4 == 1.6.5
1514h5netcdf == 1.3.0
You can’t perform that action at this time.
0 commit comments