Skip to content

Commit

Permalink
Update poe format task to use ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
whabanks committed Oct 23, 2024
1 parent ca5aa98 commit 10ff921
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,9 @@ args = { port = { options = ["--port", "-p"], default = "6012"}, host = { option
[tool.poe.tasks.format]
help = "Formats the python code with isort, black, and flake8, and checks typing with mypy and formats the JS code with prettier."
shell = """
isort ./app ./tests
black ./app ./tests
flake8 ./app ./tests
isort --check-only ./app ./tests
ruff check --select I --fix .
ruff check
ruff format .
mypy ./
npx prettier --write app/assets/javascripts app/assets/stylesheets tests_cypress/cypress/e2e
"""
Expand Down

0 comments on commit 10ff921

Please sign in to comment.