File tree Expand file tree Collapse file tree 2 files changed +14
-32
lines changed
Expand file tree Collapse file tree 2 files changed +14
-32
lines changed Original file line number Diff line number Diff line change 11repos :
2- # - repo: https://github.com/pre-commit/pre-commit-hooks
3- # rev: v4.0.1
4- # hooks:
5- # - id: check-docstring-first
6- # - id: end-of-file-fixer
7- # - id: trailing-whitespace
8- # - repo: https://github.com/asottile/setup-cfg-fmt
9- # rev: v1.20.0
10- # hooks:
11- # - id: setup-cfg-fmt
12- # - repo: https://github.com/PyCQA/flake8
13- # rev: 4.0.1
14- # hooks:
15- # - id: flake8
16- # additional_dependencies: [flake8-typing-imports>=1.9.0]
17- # - repo: https://github.com/myint/autoflake
18- # rev: v1.4
19- # hooks:
20- # - id: autoflake
21- # args: ["--in-place", "--remove-all-unused-imports"]
22- # - repo: https://github.com/PyCQA/isort
23- # rev: 5.10.1
24- # hooks:
25- # - id: isort
2+ - repo : https://github.com/pre-commit/pre-commit-hooks
3+ rev : v4.4.0
4+ hooks :
5+ - id : check-docstring-first
6+ - id : end-of-file-fixer
7+ - id : trailing-whitespace
8+ - repo : https://github.com/pycqa/isort
9+ rev : 5.12.0
10+ hooks :
11+ - id : isort
2612 - repo : https://github.com/charliermarsh/ruff-pre-commit
2713 # Ruff version.
28- rev : ' v0.0.257 '
14+ rev : ' v0.0.262 '
2915 hooks :
3016 - id : ruff
3117 args : [ --fix, --exit-non-zero-on-fix ]
3218 - repo : https://github.com/psf/black
33- rev : 22 .3.0
19+ rev : 23 .3.0
3420 hooks :
3521 - id : black
3622 args : [--line-length=79]
37- # - repo: https://github.com/asottile/pyupgrade
38- # rev: v2.29.1
39- # hooks:
40- # - id: pyupgrade
41- # args: [--py38-plus, --keep-runtime-typing]
4223 - repo : https://github.com/tlambert03/napari-plugin-checks
4324 rev : v0.3.0
4425 hooks :
Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ dev = [
5858 " isort" ,
5959 " black" ,
6060 " ruff" ,
61+ " pre-commit" ,
6162]
6263docs = [
6364 " sphinx" ,
@@ -71,4 +72,4 @@ test = [
7172 " coverage" ,
7273 " tox" ,
7374 " twine" ,
74- ]
75+ ]
You can’t perform that action at this time.
0 commit comments