@@ -16,127 +16,30 @@ repos:
1616 - id : trailing-whitespace
1717 exclude : " tests/references/.*"
1818
19- # - repo: https://github.com/hakancelik96/unimport
20- # rev: 0.14.1
21- # hooks:
22- # - id: unimport
23- # args: [--remove, --include-star-import]
24- # - repo: https://github.com/pycqa/isort
25- # rev: "3a72e069635a865a92b8a0273aa829f630cbcd6f"
26- # hooks:
27- # - id: isort
28- # files: "demo_project/.*"
29- # args: ["--profile", "black", "--filter-files"]
30-
3119 - repo : https://github.com/psf/black
3220 rev : " d9b8a6407e2f46304a8d36b18e4a73d8e0613519"
3321 hooks :
3422 - id : black
3523
36- # - repo: https://github.com/pycqa/flake8
37- # rev: "647996c743f9e77368ce46cc74abe98549dd4c3a"
38- # hooks:
39- # - id: flake8
40-
41- # - repo: https://github.com/kynan/nbstripout
42- # rev: e4c5b4dcbab4afa0b88b7a9243db42b1a8d95dde
43- # hooks:
44- # - id: nbstripout
45- # files: ".ipynb"
46-
4724 - repo : https://github.com/asottile/pyupgrade
4825 rev : ddb39ad37166dbc938d853cc77606526a0b1622a
4926 hooks :
5027 - id : pyupgrade
5128 args : [--py37-plus, --keep-runtime-typing]
5229
53- # - repo: https://github.com/codespell-project/codespell
54- # rev: 68ea3cff5eba266e0814794cce6cd19537f58137
55- # hooks:
56- # - id: codespell
57- # args: ["-L TE,TE/TM,te,ba,FPR,fpr_spacing,ro,donot"]
58-
59- # - repo: https://github.com/shellcheck-py/shellcheck-py
60- # rev: 953faa6870f6663ac0121ab4a800f1ce76bca31f
61- # hooks:
62- # - id: shellcheck
30+ - repo : https://github.com/codespell-project/codespell
31+ rev : v2.4.1
32+ hooks :
33+ - id : codespell
34+ additional_dependencies :
35+ - tomli
6336
64- # - repo: https://github.com/pre-commit/pygrep-hooks
65- # rev: 7b4409161486c6956bb3206ce96db5d56731b1b9 # Use the ref you want to point at
66- # hooks:
67- # - id: python-use-type-annotations
37+ - repo : https://github.com/shellcheck-py/shellcheck-py
38+ rev : v0.11.0.1
39+ hooks :
40+ - id : shellcheck
41+ args : ["-e", "SC1091"]
6842
69- # - repo: https://github.com/PyCQA/bandit
70- # rev: fe1361fdcc274850d4099885a802f2c9f28aca08
71- # hooks:
72- # - id: bandit
73- # args: [--exit-zero]
74- # # ignore all tests, not just tests data
75- # exclude: ^tests/
76- # - repo: https://github.com/pre-commit/mirrors-mypy
77- # rev: "v1.0.1"
78- # hooks:
79- # - id: mypy
80- # exclude: ^(docs/|example-plugin/|tests/fixtures)
81- # additional_dependencies:
82- # - "pydantic"
83- # - repo: https://github.com/terrencepreilly/darglint
84- # rev: master
85- # hooks:
86- # - id: darglint
87- # - repo: https://github.com/pycqa/pydocstyle
88- # rev: "a6fe4222012e990042c86cdaaa904a8d059752ee"
89- # hooks:
90- # - id: pydocstyle
91- # additional_dependencies: ["pydocstyle[toml]"]
92- # - repo: https://github.com/asottile/reorder_python_imports
93- # rev: 2b2f0c74acdb3de316e23ceb7dd0d7945c354050
94- # hooks:
95- # - id: reorder-python-imports
96- # - repo: https://github.com/PyCQA/pylint
97- # rev: v2.14.1
98- # hooks:
99- # - id: pylint
100- # args: [--exit-zero]
101- # - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
102- # rev: 6565d773ca281682d7062d4c0be74538cc474cc9
103- # hooks:
104- # - id: pretty-format-java
105- # args: [--autofix]
106- # - id: pretty-format-kotlin
107- # args: [--autofix]
108- # - id: pretty-format-yaml
109- # args: [--autofix, --indent, "2"]
110- # - repo: https://github.com/adrienverge/yamllint.git
111- # rev: v1.21.0 # or higher tag
112- # hooks:
113- # - id: yamllint
114- # args: [--format, parsable, --strict]
115- # - repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
116- # rev: 0.1.0 # or specific tag
117- # hooks:
118- # - id: yamlfmt
119- # - repo: https://github.com/pre-commit/pygrep-hooks
120- # rev: "f6fb13e9516d1a9720a30a4049c930235abd642e"
121- # hooks:
122- # - id: python-check-blanket-noqa
123- # - id: python-check-blanket-type-ignore
124- # - id: python-no-log-warn
125- # - id: python-no-eval
126- # - id: python-use-type-annotations
127- # - id: rst-backticks
128- # - id: rst-directive-colons
129- # - id: rst-inline-touching-normal
130- # - repo: https://github.com/nbQA-dev/nbQA
131- # rev: 952c895a21aced4601165c43f77188559a5e825c
132- # hooks:
133- # - id: nbqa-black
134- # additional_dependencies: [jupytext, black] # optional, only if you're using Jupytext
135- # - id: nbqa-pyupgrade
136- # args: ["--py37-plus"]
137- # - id: nbqa-flake8
138- # - id: nbqa-isort
139- # args: ["--float-to-top"]
14043 - repo : https://github.com/astral-sh/ruff-pre-commit
14144 rev : v0.13.1
14245 hooks :
0 commit comments