Skip to content

Commit

Permalink
add pre commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Micah Fitzgerald committed Aug 22, 2024
1 parent 515bcda commit 4ce50db
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.6.2
hooks:
# Run the linter.
- id: ruff
args: [ --fix ]
# Run the formatter.
- id: ruff-format
1 change: 1 addition & 0 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ dependencies = [
"gevent",
"poethepoet>=0.27.0",
"pytest-cov",
"pre-commit>=3.8.0",
]

[tool.poe.tasks]
Expand Down
86 changes: 86 additions & 0 deletions backend/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4ce50db

Please sign in to comment.