Skip to content

Commit a0f0572

Browse files
[pre-commit.ci] pre-commit autoupdate (#2046)
* [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 * remove redundant quotes Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jürgen Gmach <[email protected]>
1 parent 8279ceb commit a0f0572

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ repos:
1414
- id: end-of-file-fixer
1515
- id: trailing-whitespace
1616
- repo: https://github.com/asottile/pyupgrade
17-
rev: v2.12.0
17+
rev: v2.13.0
1818
hooks:
1919
- id: pyupgrade
2020
- repo: https://github.com/PyCQA/isort
2121
rev: 5.8.0
2222
hooks:
2323
- id: isort
2424
- repo: https://github.com/psf/black
25-
rev: 20.8b1
25+
rev: 21.4b0
2626
hooks:
2727
- id: black
2828
args:

src/tox/config/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ def envpython(self):
10761076
return self.get_envpython()
10771077

10781078
def get_envpython(self):
1079-
""" path to python/jython executable. """
1079+
"""path to python/jython executable."""
10801080
if "jython" in str(self.basepython):
10811081
name = "jython"
10821082
else:
@@ -1552,7 +1552,7 @@ def expand_section_names(config):
15521552

15531553

15541554
def _split_env(env):
1555-
"""if handed a list, action="append" was used for -e """
1555+
"""if handed a list, action="append" was used for -e"""
15561556
if env is None:
15571557
return []
15581558
if not isinstance(env, list):

src/tox/hookspecs.py

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

77
@hookspec
88
def tox_addoption(parser):
9-
""" add command line options to the argparse-style parser object."""
9+
"""add command line options to the argparse-style parser object."""
1010

1111

1212
@hookspec

src/tox/package/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def tox_package(session, venv):
1818

1919

2020
def get_package(session):
21-
""""Perform the package operation"""
21+
"""Perform the package operation"""
2222
config = session.config
2323
if config.skipsdist:
2424
info("skipping sdist step")

src/tox/reporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def verbosity(self):
4242
return self.verbose_level - self.quiet_level
4343

4444
def log_popen(self, cwd, outpath, cmd_args_shell, pid):
45-
""" log information about the action.popen() created process. """
45+
"""log information about the action.popen() created process."""
4646
msg = "[{}] {}$ {}".format(pid, cwd, cmd_args_shell)
4747
if outpath:
4848
if outpath.common(cwd) is not None:

src/tox/venv.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def hook(self):
154154

155155
@property
156156
def path(self):
157-
""" Path to environment base dir. """
157+
"""Path to environment base dir."""
158158
return self.envconfig.envdir
159159

160160
@property
@@ -163,7 +163,7 @@ def path_config(self):
163163

164164
@property
165165
def name(self):
166-
""" test environment name. """
166+
"""test environment name."""
167167
return self.envconfig.envname
168168

169169
def __repr__(self):

0 commit comments

Comments
 (0)