File tree 2 files changed +16
-19
lines changed
Filter options
2 files changed +16
-19
lines changed
Original file line number Diff line number Diff line change 5
5
- id : check-docstring-first
6
6
- id : end-of-file-fixer
7
7
- id : trailing-whitespace
8
+
8
9
- repo : https://github.com/asottile/setup-cfg-fmt
9
10
rev : v2.2.0
10
11
hooks :
11
12
- id : setup-cfg-fmt
12
- - repo : https://github.com/PyCQA/flake8
13
- rev : 6.0.0
14
- hooks :
15
- - id : flake8
16
- additional_dependencies : [flake8-typing-imports>=1.9.0]
17
- - repo : https://github.com/PyCQA/autoflake
18
- rev : v2.1.1
19
- hooks :
20
- - id : autoflake
21
- args : ["--in-place", "--remove-all-unused-imports"]
22
- - repo : https://github.com/PyCQA/isort
23
- rev : 5.12.0
24
- hooks :
25
- - id : isort
13
+
26
14
- repo : https://github.com/psf/black
27
15
rev : 23.3.0
28
16
hooks :
29
17
- id : black
30
- - repo : https://github.com/asottile/pyupgrade
31
- rev : v3.3.2
32
- hooks :
33
- - id : pyupgrade
34
- args : [--py38-plus, --keep-runtime-typing]
18
+
35
19
- repo : https://github.com/tlambert03/napari-plugin-checks
36
20
rev : v0.3.0
37
21
hooks :
38
22
- id : napari-plugin-checks
23
+
39
24
- repo : https://github.com/pre-commit/mirrors-mypy
40
25
rev : v1.2.0
41
26
hooks :
42
27
- id : mypy
43
28
args : ["--disallow-incomplete-defs", "--ignore-missing-imports"]
29
+
30
+ - repo : https://github.com/charliermarsh/ruff-pre-commit
31
+ # Ruff version.
32
+ rev : ' v0.0.264'
33
+ hooks :
34
+ - id : ruff
Original file line number Diff line number Diff line change @@ -12,3 +12,9 @@ line-length = 79
12
12
[tool .isort ]
13
13
profile = " black"
14
14
line_length = 79
15
+
16
+ [tool .ruff ]
17
+
18
+ target-version = " py38"
19
+ select = [" I" , " UP" , " F" , " E" , " W" ]
20
+ fix = true
You can’t perform that action at this time.
0 commit comments