We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 98bee43 + 16d213b commit 15fdfebCopy full SHA for 15fdfeb
.pre-commit-config.yaml
@@ -5,7 +5,12 @@ repos:
5
- repo: https://github.com/pre-commit/pre-commit-hooks
6
rev: v4.4.0
7
hooks:
8
- - id: check-added-large-files
+ - id: check-added-large-files
9
+ - repo: https://github.com/charliermarsh/ruff-pre-commit
10
+ rev: "v0.0.267"
11
+ hooks:
12
+ - id: ruff
13
+ args: [--fix, --exit-non-zero-on-fix]
14
- repo: https://github.com/psf/black
15
rev: 22.12.0
16
pyproject.toml
@@ -1,3 +1,6 @@
1
[build-system]
2
requires = ["setuptools", "wheel"]
3
build-backend = "setuptools.build_meta"
4
+
+[tool.ruff]
+line-length = 100
0 commit comments