Skip to content

Commit 93c88ca

Browse files
committed
Switch to Ruff for linting and formatting
1 parent 7f7c68f commit 93c88ca

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ test-with-coverage:
88

99
.PHONY: lint
1010
lint:
11-
black src/ tests.py
12-
isort --profile=black src/ tests.py
13-
flake8 src/ tests.py
11+
ruff check --select I --fix src/ tests.py
12+
ruff format src/ tests.py
13+
ruff check src/ tests.py
1414
mypy --strict src/ tests.py
1515

1616
.PHONY: html-docs

requirements-dev.txt

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
black
2-
flake8
3-
isort
1+
ruff
42
mypy
53
pytest
64
pytest-cov

setup.cfg

-2
This file was deleted.

0 commit comments

Comments
 (0)