Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 26, 2021
1 parent df96551 commit 24979ee
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions src/virtualenv/app_data/na.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,22 @@ def wheel_image(self, for_py_version, name):
raise self.error

def py_info_clear(self):
""""""
""" """


class ContentStoreNA(ContentStore):
def exists(self):
return False

def read(self):
""""""
""" """
return None

def write(self, content):
""""""
""" """

def remove(self):
""""""
""" """

@contextmanager
def locked(self):
Expand Down
2 changes: 1 addition & 1 deletion src/virtualenv/app_data/via_disk_folder.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def py_info(self, path):
return PyInfoStoreDisk(self.py_info_at, path)

def py_info_clear(self):
""""""
""" """
py_info_folder = self.py_info_at
with py_info_folder:
for filename in py_info_folder.path.iterdir():
Expand Down
2 changes: 1 addition & 1 deletion src/virtualenv/config/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def convert(self, value):

class ListType(TypeData):
def _validate(self):
""""""
""" """

def convert(self, value, flatten=True):
values = self.split_values(value)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

@add_metaclass(abc.ABCMeta)
class CPython3(CPython, Python3Supports):
""""""
""" """


class CPython3Posix(CPythonPosix, CPython3):
Expand Down Expand Up @@ -43,7 +43,7 @@ def pyvenv_launch_patch_active(cls, interpreter):


class CPython3Windows(CPythonWindows, CPython3):
""""""
""" """

@classmethod
def setup_meta(cls, interpreter):
Expand Down
2 changes: 1 addition & 1 deletion src/virtualenv/create/via_global_ref/builtin/pypy/pypy2.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

@add_metaclass(abc.ABCMeta)
class PyPy2(PyPy, Python2):
""""""
""" """

@classmethod
def exe_stem(cls):
Expand Down
2 changes: 1 addition & 1 deletion src/virtualenv/discovery/builtin.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,4 @@ def possible_specs(spec):


class PathPythonInfo(PythonInfo):
""""""
""" """
2 changes: 1 addition & 1 deletion src/virtualenv/discovery/windows/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


class Pep514PythonInfo(PythonInfo):
""""""
""" """


def propose_interpreters(spec, cache_dir, env):
Expand Down
2 changes: 1 addition & 1 deletion src/virtualenv/run/plugin/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


class Discovery(PluginLoader):
""""""
""" """


def get_discover(parser, args):
Expand Down

0 comments on commit 24979ee

Please sign in to comment.