Skip to content

Commit

Permalink
Only exit with !=0 for poe lint if errors (E) were found [fix]
Browse files Browse the repository at this point in the history
  • Loading branch information
hoijui committed Dec 20, 2024
1 parent 6b70399 commit 9f2100d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ clean = {ref = "_clean", help = "Clean up temporary files"}
build = {cmd = "poetry build"}
format = {shell = "isort krawl && yapf -i -r -vv -p krawl", help = "Format the code using YAPF"}
check_format = {shell = "isort --check-only krawl && yapf -i -r -vv -p krawl", help = "Check whether the formatting is correct. Exits with 0 if it is"}
lint = {cmd = "pylint ./krawl", help = "Use PyLint to evaluate the code quality"}
lint = {cmd = "pylint --fail-under 5 --fail-on E krawl", help = "Use PyLint to evaluate the code quality"}
_publish = {cmd = "poetry publish"}
release = {sequence = ["format", "test", "build", "_publish"], help = "Create a release of the application and publish it on PyPi"}
test = {cmd = "python -m unittest tests/**/*.py", help = "Run the test suits"}
Expand Down

0 comments on commit 9f2100d

Please sign in to comment.