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 83da101 commit 6a06489Copy full SHA for 6a06489
.pre-commit-config.yaml
@@ -0,0 +1,21 @@
1
+exclude: ".*/data/.*"
2
+repos:
3
+ - repo: https://github.com/pre-commit/pre-commit-hooks
4
+ rev: v4.4.0
5
+ hooks:
6
+ - id: trailing-whitespace
7
+ exclude: 'examples'
8
+ - id: end-of-file-fixer
9
+ exclude: 'examples|docs/_static/.*\.(css|js)'
10
+ - id: check-yaml
11
+ - id: check-json
12
+ - id: check-toml
13
+ - id: check-added-large-files
14
+ - repo: https://github.com/astral-sh/ruff-pre-commit
15
+ rev: v0.7.4
16
17
+ - id: ruff
18
+ args: [ --fix ]
19
+ - id: ruff-format
20
21
+ args: [ --select, ISC001, --fix ]
0 commit comments