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 3486638 commit c58b202Copy full SHA for c58b202
.pre-commit-config.yaml
@@ -0,0 +1,26 @@
1
+# See https://pre-commit.com for more information
2
+repos:
3
+ - repo: local
4
+ hooks:
5
+ - id: black
6
+ name: black
7
+ language: system
8
+ entry: black --check --diff
9
+ files: \.py[i]?$
10
+
11
+ - id: codespell
12
+ name: codespell
13
14
+ entry: codespell
15
16
+ - id: flake8
17
+ name: flake8
18
19
+ entry: flake8
20
+ files: \.py$
21
22
+ - id: mypy
23
+ name: mypy
24
25
+ entry: mypy --pretty
26
psycopg/pyproject.toml
@@ -84,6 +84,7 @@ dev = [
84
"dnspython >= 2.1",
85
"flake8 >= 4.0",
86
"mypy >= 1.14",
87
+ "pre-commit >= 4.0.1",
88
"types-setuptools >= 57.4",
89
"wheel >= 0.37",
90
]
0 commit comments