We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9f6666 commit 2316166Copy full SHA for 2316166
.pre-commit-config.yaml
@@ -0,0 +1,27 @@
1
+# See https://pre-commit.com for more information
2
+# See https://pre-commit.com/hooks.html for more hooks
3
+repos:
4
+- repo: https://github.com/pre-commit/pre-commit-hooks
5
+ rev: v4.5.0
6
+ hooks:
7
+ - id: trailing-whitespace
8
+ - id: check-yaml
9
+ - id: check-json
10
+
11
+- repo: https://github.com/psf/black
12
+ rev: 24.1.1
13
14
+ - id: black
15
+ args: ["-l", "79"]
16
+ name: black
17
+ description: "Black: The uncompromising Python code formatter"
18
+ entry: black
19
+ language: python
20
+ minimum_pre_commit_version: 2.9.2
21
+ require_serial: true
22
+ types_or: [python, pyi]
23
24
+- repo: https://github.com/charliermarsh/ruff-pre-commit
25
+ rev: 'v0.1.14'
26
27
+ - id: ruff
0 commit comments