Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#2242)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Dec 27, 2021
1 parent bb82a73 commit abc655e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -20,15 +20,15 @@ repos:
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 21.11b1
rev: 21.12b0
hooks:
- id: black
args: [--safe]
- repo: https://github.com/asottile/blacken-docs
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:
Expand All @@ -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"]
1 change: 0 additions & 1 deletion src/virtualenv/util/path/_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
def norm(src):
return ensure_text(str(src))


else:
norm = str

Expand Down
1 change: 0 additions & 1 deletion tasks/__main__zipapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ def find_spec(self, fullname, path, target=None):
def module_repr(self, module):
raise NotImplementedError


else:
# noinspection PyDeprecation
from imp import new_module
Expand Down

0 comments on commit abc655e

Please sign in to comment.