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 1100589 commit 11e811dCopy full SHA for 11e811d
1 file changed
.pre-commit-config.yaml
@@ -0,0 +1,29 @@
1
+repos:
2
+ - repo: https://github.com/pre-commit/pre-commit-hooks
3
+ rev: v5.0.0
4
+ hooks:
5
+ - id: check-yaml
6
+ - id: check-toml
7
+ - id: check-ast
8
+ - id: check-merge-conflict
9
+ - id: check-added-large-files
10
+ - id: mixed-line-ending
11
+ - id: end-of-file-fixer
12
+ - id: trailing-whitespace
13
+ - repo: https://github.com/kynan/nbstripout
14
+ rev: 0.8.1
15
16
+ - id: nbstripout
17
+ - repo: https://github.com/astral-sh/ruff-pre-commit
18
+ # Ruff version.
19
+ rev: v0.9.9
20
21
+ # Run the linter.
22
+ - id: ruff
23
+ args: [--fix]
24
+ # Run the formatter.
25
+ - id: ruff-format
26
+ - repo: https://gitlab.com/bmares/check-json5
27
+ rev: v1.0.0
28
29
+ - id: check-json5
0 commit comments