Skip to content

Commit 42d8593

Browse files
authored
style: bump black (#3831)
* style: bump black Signed-off-by: Henry Schreiner <[email protected]> * fix: pycln broken by typer breakage
1 parent 3a183d4 commit 42d8593

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.pre-commit-config.yaml

+6-4
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ repos:
4545

4646
# Black, the code formatter, natively supports pre-commit
4747
- repo: https://github.com/psf/black
48-
rev: "22.1.0" # Keep in sync with blacken-docs
48+
rev: "22.3.0" # Keep in sync with blacken-docs
4949
hooks:
5050
- id: black
5151

@@ -55,7 +55,7 @@ repos:
5555
hooks:
5656
- id: blacken-docs
5757
additional_dependencies:
58-
- black==22.1.0 # keep in sync with black hook
58+
- black==22.3.0 # keep in sync with black hook
5959

6060
# Changes tabs to spaces
6161
- repo: https://github.com/Lucas-C/pre-commit-hooks
@@ -74,6 +74,8 @@ repos:
7474
rev: "v1.2.5"
7575
hooks:
7676
- id: pycln
77+
additional_dependencies: [click<8.1] # Unpin when typer updates
78+
stages: [manual]
7779

7880
# Checking for common mistakes
7981
- repo: https://github.com/pre-commit/pygrep-hooks
@@ -106,7 +108,7 @@ repos:
106108

107109
# PyLint has native support - not always usable, but works for us
108110
- repo: https://github.com/PyCQA/pylint
109-
rev: "v2.12.2"
111+
rev: "v2.13.2"
110112
hooks:
111113
- id: pylint
112114
files: ^pybind11
@@ -122,7 +124,7 @@ repos:
122124

123125
# Check static types with mypy
124126
- repo: https://github.com/pre-commit/mirrors-mypy
125-
rev: "v0.941"
127+
rev: "v0.942"
126128
hooks:
127129
- id: mypy
128130
args: [--show-error-codes]

0 commit comments

Comments
 (0)