Skip to content

Commit f8562a6

Browse files
authored
Drop 'black' for 'ruff format'
1 parent 8c3e7c5 commit f8562a6

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.github/workflows/pythonpackage.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
7071
ignore = [
7172
"E402",
72-
"E501",
7373
]
7474
select = [
7575
# Pyflakes

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ statsmodels==0.14.2
99
pytest==8.2.1
1010
pytest-cov==5.0.0
1111
zarr==2.18.2
12-
black==24.4.2
1312
ruff==0.4.5
1413
netcdf4==1.6.5
1514
h5netcdf==1.3.0

0 commit comments

Comments
 (0)