Skip to content

Commit 417464c

Browse files
committed
Replaced dev tools black and flake8 by isort and ruff
1 parent 6ad67ef commit 417464c

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,9 @@ jobs:
2828
run: |
2929
python -m pip install --upgrade pip
3030
pip install .[dev,doc]
31-
- name: Lint with flake8
31+
- name: Lint with ruff
3232
run: |
33-
# stop the build if there are Python syntax errors or undefined names
34-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
35-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
36-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
33+
ruff check
3734
- name: Test with pytest
3835
run: |
3936
pytest --cov=zappend

CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## Version 0.8.1 (in development)
2+
3+
* Replaced dev tools black and flake8 by isort and ruff.
4+
5+
* Added `environment.yml` to setup a conda/mamba development environment.
6+
17
## Version 0.8.0 (from 2024-10-04)
28

39
* Added module `zappend.contrib` that contributes functions to

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,14 @@ zappend = "zappend.cli:zappend"
4747

4848
[project.optional-dependencies]
4949
dev = [
50+
"isort",
5051
"pytest",
5152
"pytest-cov",
52-
"black",
53-
"flake8",
54-
"flake8-bugbear",
5553
"h5netcdf",
5654
"s3fs",
5755
"scipy",
5856
"pyproj"
57+
"ruff",
5958
]
6059
doc = [
6160
"mkdocs",

0 commit comments

Comments
 (0)