8000 [pre-commit.ci] pre-commit autoupdate (#2098) · pypa/virtualenv@45b44c2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 45b44c2

Browse files
[pre-commit.ci] pre-commit autoupdate (#2098)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/asottile/pyupgrade: v2.12.0 → v2.13.0](asottile/pyupgrade@v2.12.0...v2.13.0) - [github.com/psf/black: 20.8b1 → 21.4b0](psf/black@20.8b1...21.4b0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent a76cc5a commit 45b44c2

File tree

9 files changed

+14
-14
lines changed

9 files changed

+14
-14
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ repos:
1212
- id: end-of-file-fixer
1313
- id: trailing-whitespace
1414
- repo: https://github.com/asottile/pyupgrade
15-
rev: v2.12.0
15+
rev: v2.13.0
1616
hooks:
1717
- id: pyupgrade
1818
- repo: https://github.com/PyCQA/isort
1919
rev: 5.8.0
2020
hooks:
2121
- id: isort
2222
- repo: https://github.com/psf/black
23-
rev: 20.8b1
23+
rev: 21.4b0
2424
hooks:
2525
- id: black
2626
args: [--safe]

src/virtualenv/app_data/na.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,22 @@ def wheel_image(self, for_py_version, name):
4444
raise self.error
4545

4646
def py_info_clear(self):
47-
""""""
47+
""" """
4848

4949

5050
class ContentStoreNA(ContentStore):
5151
def exists(self):
5252
return False
5353

5454
def read(self):
55-
""""""
55+
""" """
5656
return None
5757

5858
def write(self, content):
59-
""""""
59+
""" """
6060

6161
def remove(self):
62-
""""""
62+
""" """
6363

6464
@contextmanager
6565
def locked(self):

src/virtualenv/app_data/via_disk_folder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def py_info(self, path):
9191
return PyInfoStoreDisk(self.py_info_at, path)
9292

9393
def py_info_clear(self):
94-
""""""
94+
""" """
9595
py_info_folder = self.py_info_at
9696
with py_info_folder:
9797
for filename in py_info_folder.path.iterdir():

src/virtualenv/config/convert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def convert(self, value):
4343

4444
class ListType(TypeData):
4545
def _validate(self):
46-
""""""
46+
""" """
4747

4848
def convert(self, value, flatten=True):
4949
values = self.split_values(value)

src/virtualenv/create/via_global_ref/builtin/cpython/cpython3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
@add_metaclass(abc.ABCMeta)
1717
class CPython3(CPython, Python3Supports):
18-
""""""
18+
""" """
1919

2020

2121
class CPython3Posix(CPythonPosix, CPython3):
@@ -43,7 +43,7 @@ def pyvenv_launch_patch_active(cls, interpreter):
4343

4444

4545
class CPython3Windows(CPythonWindows, CPython3):
46-
""""""
46+
""" """
4747

4848
@classmethod
4949
def setup_meta(cls, interpreter):

src/virtualenv/create/via_global_ref/builtin/pypy/pypy2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
@add_metaclass(abc.ABCMeta)
1818
class PyPy2(PyPy, Python2):
19-
""""""
19+
""" """
2020

2121
@classmethod
2222
def exe_stem(cls):

src/virtualenv/discovery/builtin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,4 +183,4 @@ def possible_specs(spec):
183183

184184

185185
class PathPythonInfo(PythonInfo):
186-
""""""
186+
""" """

src/virtualenv/discovery/windows/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
class Pep514PythonInfo(PythonInfo):
9-
""""""
9+
""" """
1010

1111

1212
def propose_interpreters(spec, cache_dir, env):

src/virtualenv/run/plugin/discovery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
class Discovery(PluginLoader):
7-
""""""
7+
""" """
88

99

1010
def get_discover(parser, args):

0 commit comments

Comments
 (0)
0