Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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