We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f81047e commit 7781ce9Copy full SHA for 7781ce9
.pre-commit-config.yaml
@@ -0,0 +1,9 @@
1
+repos:
2
+- repo: https://github.com/astral-sh/ruff-pre-commit
3
+ rev: v0.11.13
4
+ hooks:
5
+ - id: ruff
6
+ name: ruff lint
7
+ args: ["--fix"]
8
+ - id: ruff-format
9
+ name: ruff format
tox.ini
@@ -35,7 +35,6 @@ commands =
35
36
[testenv:py39-lint]
37
deps =
38
- ruff==0.11.13
+ pre-commit==4.2.0
39
commands =
40
- ruff format --check django_prometheus/
41
- ruff check django_prometheus/
+ pre-commit run --all-files
0 commit comments