Skip to content

Commit 664e22d

Browse files
replace flake8 with ruff
1 parent 20116ab commit 664e22d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ filterwarnings = [
134134
"ignore:skimage not installed",
135135
]
136136

137-
[tool.flake8]
137+
[tool.ruff.lint]
138138
ignore = [
139139
"E221",
140140
"E226",

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ pip_pre =
6363
[testenv:codestyle]
6464
skip_install = true
6565
changedir = {toxinidir}
66-
description = check code style with flake8
67-
deps = flake8
68-
commands = flake8 acstools --count
66+
description = check code style with ruff
67+
deps = ruff
68+
commands = ruff check .
6969

7070
[testenv:twine]
7171
skip_install = true

0 commit comments

Comments
 (0)