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 eef9ac4 commit 0cf93b3Copy full SHA for 0cf93b3
.pre-commit-config.yaml
@@ -0,0 +1,25 @@
1
+# See https://pre-commit.com for more information
2
+# See https://pre-commit.com/hooks.html for more hooks
3
+default_language_version:
4
+ python: python3.10
5
+repos:
6
+- repo: https://github.com/pre-commit/pre-commit-hooks
7
+ rev: v4.5.0
8
+ hooks:
9
+ - id: check-added-large-files
10
+ - id: check-toml
11
+ - id: check-yaml
12
+ args:
13
+ - --unsafe
14
+ - id: end-of-file-fixer
15
+ - id: trailing-whitespace
16
+- repo: https://github.com/astral-sh/ruff-pre-commit
17
+ rev: v0.2.0
18
19
+ - id: ruff
20
21
+ - --fix
22
+ - id: ruff-format
23
+ci:
24
+ autofix_commit_msg: 🎨 [pre-commit.ci] Auto format from pre-commit.com hooks
25
+ autoupdate_commit_msg: ⬆ [pre-commit.ci] pre-commit autoupdate
0 commit comments