Skip to content

Commit

Permalink
[pyproject.toml] lint and lint-fix now use */*.py instead of app/
Browse files Browse the repository at this point in the history
  • Loading branch information
missingcharacter committed Mar 9, 2022
1 parent bafb561 commit 44d1a8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ pytest-cov = "==3.0.0"
poethepoet = "^0.11.0"

[tool.poe.tasks]
lint = { cmd = "black --check --line-length 120 *.py app/", help = "Use `black` to check the style of the application" }
lint-fix = { cmd = "black --line-length 120 *.py app/", help = "Same as `lint`, but will fix the application's style to conform with PEP8" }
lint = { cmd = "black --check --line-length 120 *.py */*.py", help = "Use `black` to check the style of the application" }
lint-fix = { cmd = "black --line-length 120 *.py */*.py", help = "Same as `lint`, but will fix the application's style to conform with PEP8" }
test = { cmd = "python -m pytest -v --log-file=tests.log --log-file-level=INFO --cov=. tests/ -o junit_family=xunit2 --junitxml=tmp/test-output/pytest.xml" }

[build-system]
Expand Down

0 comments on commit 44d1a8b

Please sign in to comment.