Skip to content

Commit ec9036d

Browse files
committed
fix ruff command
1 parent eb9ca32 commit ec9036d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

justfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# coverage related
2+
23
cov := "--cov=alive_progress --cov-branch --cov-report=term-missing"
34

45
all:
@@ -16,7 +17,7 @@ clean-pyc:
1617
find . -type f -name *.pyc -delete
1718

1819
lint:
19-
ruff alive_progress --line-length 100
20+
ruff check alive_progress --line-length 100
2021

2122
build: lint clean
2223
python setup.py sdist bdist_wheel
@@ -31,10 +32,10 @@ tag:
3132
git push origin $tag
3233

3334
test:
34-
pytest {{cov}}
35+
pytest {{ cov }}
3536

3637
ptw:
37-
ptw -- {{cov}}
38+
ptw -- {{ cov }}
3839

3940
cov-report:
4041
coverage report -m

0 commit comments

Comments
 (0)