Skip to content

Commit 45ed844

Browse files
committed
Vendoring script: fix linting issue
1 parent 93f40ac commit 45ed844

File tree

1 file changed

+5
-18
lines changed

1 file changed

+5
-18
lines changed

tasks/vendoring/__init__.py

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Taken from pip
22
# see https://github.com/pypa/pip/blob/95bcf8c5f6394298035a7332c441868f3b0169f4/tasks/vendoring/__init__.py
3-
""""Vendoring script, python 3.5 needed"""
3+
""""Vendoring script, python 3.6>= needed"""
44

55
import itertools
66
import re
@@ -87,23 +87,10 @@
8787
"from platformdirs import user_cache_dir",
8888
"from pipenv.patched.pip._vendor.platformdirs import user_cache_dir",
8989
),
90-
(
91-
"from distlib import",
92-
"from pipenv.patched.pip._vendor.distlib import"
93-
),
94-
(
95-
"from distlib.metadata",
96-
"from pipenv.patched.pip._vendor.distlib.metadata import"
97-
),
98-
(
99-
"from distlib.wheel import",
100-
"from pipenv.patched.pip._vendor.distlib.wheel import"
101-
),
102-
(
103-
"import colorama",
104-
"from pipenv.patched.pip._vendor import colorama"
105-
)
106-
90+
("from distlib import", "from pipenv.patched.pip._vendor.distlib import"),
91+
("from distlib.metadata", "from pipenv.patched.pip._vendor.distlib.metadata import"),
92+
("from distlib.wheel import", "from pipenv.patched.pip._vendor.distlib.wheel import"),
93+
("import colorama", "from pipenv.patched.pip._vendor import colorama"),
10794
]
10895

10996

0 commit comments

Comments
 (0)