We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7d66d1 commit 8afae10Copy full SHA for 8afae10
.pre-commit-config.yaml
@@ -0,0 +1,10 @@
1
+repos:
2
+- repo: https://github.com/astral-sh/ruff-pre-commit
3
+ # Ruff version.
4
+ rev: v0.7.0
5
+ hooks:
6
+ # Run the linter.
7
+ - id: ruff
8
+ args: [ --fix ]
9
+ # Run the formatter.
10
+ - id: ruff-format
pyproject.toml
@@ -63,6 +63,8 @@ dev = [
63
"pytest",
64
"pytest-cov",
65
"pytest-mock",
66
+ "pre-commit>=3.0.0",
67
+ "ruff"
68
]
69
70
[project.urls]
0 commit comments