Skip to content

Commit abc655e

Browse files
[pre-commit.ci] pre-commit autoupdate (#2242)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent bb82a73 commit abc655e

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.0.1
3+
rev: v4.1.0
44
hooks:
55
- id: check-ast
66
- id: check-builtin-literals
@@ -20,15 +20,15 @@ repos:
2020
hooks:
2121
- id: isort
2222
- repo: https://github.com/psf/black
23-
rev: 21.11b1
23+
rev: 21.12b0
2424
hooks:
2525
- id: black
2626
args: [--safe]
2727
- repo: https://github.com/asottile/blacken-docs
2828
rev: v1.12.0
2929
hooks:
3030
- id: blacken-docs
31-
additional_dependencies: [black==21.9b0]
31+
additional_dependencies: [black==21.12b0]
3232
- repo: https://github.com/pre-commit/pygrep-hooks
3333
rev: v1.9.0
3434
hooks:
@@ -47,4 +47,4 @@ repos:
4747
rev: "4.0.1"
4848
hooks:
4949
- id: flake8
50-
additional_dependencies: ["flake8-bugbear == 21.9.2"]
50+
additional_dependencies: ["flake8-bugbear == 21.11.29"]

src/virtualenv/util/path/_sync.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
def norm(src):
1616
return ensure_text(str(src))
1717

18-
1918
else:
2019
norm = str
2120

tasks/__main__zipapp.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ def find_spec(self, fullname, path, target=None):
130130
def module_repr(self, module):
131131
raise NotImplementedError
132132

133-
134133
else:
135134
# noinspection PyDeprecation
136135
from imp import new_module

0 commit comments

Comments
 (0)