Skip to content

Commit

Permalink
add pre-commit dev dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarrison committed Nov 7, 2024
1 parent 31c81a3 commit 44251ee
Show file tree
Hide file tree
Showing 3 changed files with 165 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 @@
ci:
autoupdate_schedule: monthly

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.3
hooks:
- id: ruff
args: [ --fix ]
- id: ruff-format
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,11 @@ disbatch = "disbatch:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.ruff.format]
quote-style = "single"

[dependency-groups]
dev = [
"pre-commit>=4.0.1",
]
147 changes: 147 additions & 0 deletions uv.lock

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

0 comments on commit 44251ee

Please sign in to comment.