@@ -47,23 +47,23 @@ repos:
4747 types : [binary]
4848 language : fail
4949- repo : https://github.com/pre-commit/pre-commit-hooks
50- rev : v4.4 .0
50+ rev : v4.6 .0
5151 hooks :
5252 - id : no-commit-to-branch
5353 args : [--branch, master]
5454 always_run : true
5555- repo : https://github.com/akaihola/darker
56- rev : 1.7.3
56+ rev : v2.1.1
5757 hooks :
5858 - id : darker
59- args : [--isort, -S, - tpy36]
59+ args : [--isort, -tpy36]
6060 verbose : true
6161 additional_dependencies :
6262 - isort
6363
6464
6565- repo : https://github.com/pre-commit/mirrors-mypy
66- rev : v1.8 .0
66+ rev : v1.10 .0
6767 hooks :
6868 - id : mypy
6969 additional_dependencies :
@@ -74,11 +74,12 @@ repos:
7474
7575
7676- repo : https://github.com/rcmdnk/pyproject-pre-commit
77- rev : v0.0.12
77+ rev : v0.1.9
7878 hooks :
7979 - id : shellcheck
8080 - id : mdformat-check
8181 exclude : README-Unicode.md
82+ language : python
8283- repo : https://github.com/pycqa/pylint
8384 rev : v2.17.4
8485 hooks :
@@ -101,15 +102,15 @@ repos:
101102- repo : local
102103 hooks :
103104 - id : run-pyre
104- name : run-pyre
105+ name : run-pyre (expect this to take 30 seconds)
105106 entry : python pyre_runner.py
106107 types : [python]
107108 language : python
108109 log_file : " .git/pre-commit-pyre.log"
109110 additional_dependencies : [pyre-check,mock]
110111 - id : pytype
111- name : pytype
112- entry : pytype
112+ name : pytype (may take up to two minutes)
113+ entry : sh -c " pytype >/dev/tty"
113114 types : [python]
114115 verbose : true
115116 language : python
@@ -132,7 +133,7 @@ repos:
132133 # Sample annotations: # type: ignore[attr-defined] # type: ignore[attr-defined,name-defined]
133134 - id : python-check-blanket-type-ignore
134135- repo : https://github.com/pre-commit/pre-commit-hooks
135- rev : v4.4 .0
136+ rev : v4.6 .0
136137 hooks :
137138 - id : trailing-whitespace
138139 - id : end-of-file-fixer
0 commit comments