Skip to content

Commit ef57443

Browse files
committed
Justfile: Add ruff check & auto fix
1 parent 639ae76 commit ef57443

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Justfile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1-
test: mypy && check-format
1+
test: mypy _check && check-format
22
# Testing project
33
@just _test
44

5-
check: mypy && check-format
5+
check: mypy _check && check-format
6+
7+
# runs additional checks
8+
_check:
9+
-ruff check src
10+
11+
fix: && format
12+
ruff check --fix src
613

714
build: mypy && _test check-format
815
# Build project

0 commit comments

Comments
 (0)