Skip to content

Commit

Permalink
Ruff prehook addition (#282)
Browse files Browse the repository at this point in the history
Add ruff check to python prehook
  • Loading branch information
RioKnightleyNHS authored Feb 8, 2024
1 parent 6238360 commit 6d52e0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .lintstagedrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"*.{css,scss,md}": ["prettier --write"],
"*.py": [
"./lambdas/venv/bin/python3 -m isort --profile black",
"./lambdas/venv/bin/python3 -m black"
"./lambdas/venv/bin/python3 -m black",
"./lambdas/venv/bin/ruff check ./lambdas"
]
}

0 comments on commit 6d52e0b

Please sign in to comment.