[pre-commit.ci] pre-commit autoupdate (#2242)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
bb82a73b6d
commit
abc655e428
3 changed files with 4 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
|||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.0.1
|
||||
rev: v4.1.0
|
||||
hooks:
|
||||
- id: check-ast
|
||||
- id: check-builtin-literals
|
||||
|
|
@ -20,7 +20,7 @@ repos:
|
|||
hooks:
|
||||
- id: isort
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 21.11b1
|
||||
rev: 21.12b0
|
||||
hooks:
|
||||
- id: black
|
||||
args: [--safe]
|
||||
|
|
@ -28,7 +28,7 @@ repos:
|
|||
rev: v1.12.0
|
||||
hooks:
|
||||
- id: blacken-docs
|
||||
additional_dependencies: [black==21.9b0]
|
||||
additional_dependencies: [black==21.12b0]
|
||||
- repo: https://github.com/pre-commit/pygrep-hooks
|
||||
rev: v1.9.0
|
||||
hooks:
|
||||
|
|
@ -47,4 +47,4 @@ repos:
|
|||
rev: "4.0.1"
|
||||
hooks:
|
||||
- id: flake8
|
||||
additional_dependencies: ["flake8-bugbear == 21.9.2"]
|
||||
additional_dependencies: ["flake8-bugbear == 21.11.29"]
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ if PY2 and IS_CPYTHON and IS_WIN: # CPython2 on Windows supports unicode paths
|
|||
def norm(src):
|
||||
return ensure_text(str(src))
|
||||
|
||||
|
||||
else:
|
||||
norm = str
|
||||
|
||||
|
|
|
|||
|
|
@ -130,7 +130,6 @@ if NEW_IMPORT_SYSTEM:
|
|||
def module_repr(self, module):
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
else:
|
||||
# noinspection PyDeprecation
|
||||
from imp import new_module
|
||||
|
|
|
|||
Loading…
Reference in a new issue