Skip to content

Commit 1fcc274

Browse files
committed
pre-commit: update black, black-docs version
typed-ast is not maintained anymore, and builds with newer python versions raises: ast27/Custom/../Include/compile.h:12:12: error: unknown type name ‘PyFutureFeatures’ 12 | PyAPI_FUNC(PyFutureFeatures *) PyFuture_FromAST(struct _mod *, const char *); The minimum black version with 966baaa is 21.4b0, but due to black-docs min version with the same fix (a24ed2d, 1.13.0), set as 22.12.0. Signed-off-by: Jorge Marques <[email protected]>
1 parent 67cb1a8 commit 1fcc274

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ repos:
2222
- id: check-docstring-first
2323
- id: flake8
2424
- repo: https://github.com/psf/black
25-
rev: 19.10b0
25+
rev: 22.12.0
2626
hooks:
2727
- id: black
2828
language_version: python3
2929
additional_dependencies: ['click==8.0.4']
3030
args: [--exclude=./test/emu]
3131
- repo: https://github.com/asottile/blacken-docs
32-
rev: v1.12.0
32+
rev: 1.13.0
3333
hooks:
3434
- id: blacken-docs
35-
additional_dependencies: [black==19.10b0]
35+
additional_dependencies: [black==22.12.0]
3636
- repo: https://github.com/Lucas-C/pre-commit-hooks
3737
rev: v1.5.1
3838
hooks:

0 commit comments

Comments
 (0)