Commit 40780824 by pre-commit-ci[bot] Committed by GitHub

[pre-commit.ci] pre-commit autoupdate (#6414)

<!--pre-commit.ci start-->
updates:
- [github.com/psf/black: 22.6.0 → 22.8.0](https://github.com/psf/black/compare/22.6.0...22.8.0)
<!--pre-commit.ci end-->

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
parent dc9d84cd
......@@ -75,7 +75,7 @@ repos:
args: [--lines-after-imports, "-1"]
- repo: https://github.com/psf/black
rev: 22.6.0
rev: 22.8.0
hooks:
- id: black
......
......@@ -40,10 +40,14 @@ class EnvInfoCommand(Command):
listing = [
f"<info>Python</info>: <comment>{env_python_version}</>",
f"<info>Implementation</info>: <comment>{env.python_implementation}</>",
(
"<info>Path</info>: "
f" <comment>{env.path if env.is_venv() else 'NA'}</>",
f" <comment>{env.path if env.is_venv() else 'NA'}</>"
),
(
"<info>Executable</info>: "
f" <comment>{env.python if env.is_venv() else 'NA'}</>",
f" <comment>{env.python if env.is_venv() else 'NA'}</>"
),
]
if env.is_venv():
listing.append(
......
......@@ -59,8 +59,10 @@ def test_run_has_helpful_error_when_command_not_found(
# The expected string in this assertion assumes Command Prompt (cmd.exe) is the
# shell used.
assert capfd.readouterr().err.splitlines() == [
(
"'nonexistent-command' is not recognized as an internal or external"
" command,",
" command,"
),
"operable program or batch file.",
]
else:
......
......@@ -90,8 +90,10 @@ if TYPE_CHECKING:
},
),
(
'cachecontrol[filecache] (>=0.12.9,<0.13.0); python_version >= "3.6" and'
' python_version < "4.0"',
(
'cachecontrol[filecache] (>=0.12.9,<0.13.0); python_version >= "3.6"'
' and python_version < "4.0"'
),
{
"version": ">=0.12.9,<0.13.0",
"markers": 'python_version >= "3.6" and python_version < "4.0"',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment