Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update pre-commit #656

Merged
merged 1 commit into from Oct 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Expand Up @@ -4,7 +4,7 @@ ci:

repos:
- repo: https://github.com/psf/black
rev: "22.6.0"
rev: "22.10.0"
hooks:
- id: black
args:
Expand All @@ -31,7 +31,7 @@ repos:
args: ["-a", "from __future__ import annotations"]

- repo: https://github.com/asottile/pyupgrade
rev: v2.37.3
rev: v3.0.0
hooks:
- id: pyupgrade
args: [--py37-plus]
Expand Down Expand Up @@ -63,7 +63,7 @@ repos:
additional_dependencies: *flake8-dependencies

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.971
rev: v0.982
hooks:
- id: mypy
files: ^nox/
Expand All @@ -74,7 +74,7 @@ repos:
- importlib_metadata

- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
rev: v2.2.1
hooks:
- id: codespell

Expand Down
2 changes: 1 addition & 1 deletion nox/sessions.py
Expand Up @@ -484,7 +484,7 @@ def conda_install(
# Install in editable mode.
session.install('-e', '.', '--no-deps')

You can specify a conda channel using `channel=`; a falsy value will
You can specify a conda channel using `channel=`; a falsey value will
not change the current channels. You can specify a list of channels if
needed.

Expand Down
30 changes: 20 additions & 10 deletions tests/test_command.py
Expand Up @@ -230,8 +230,10 @@ def test_fail_with_silent(capsys):
[
PYTHON,
"-c",
'import sys; sys.stdout.write("out");'
'sys.stderr.write("err"); sys.exit(1)',
(
'import sys; sys.stdout.write("out");'
'sys.stderr.write("err"); sys.exit(1)'
),
],
silent=True,
)
Expand Down Expand Up @@ -390,8 +392,10 @@ def test_custom_stdout(capsys, tmpdir):
[
PYTHON,
"-c",
'import sys; sys.stdout.write("out");'
'sys.stderr.write("err"); sys.exit(0)',
(
'import sys; sys.stdout.write("out");'
'sys.stderr.write("err"); sys.exit(0)'
),
],
stdout=stdout,
)
Expand All @@ -418,8 +422,10 @@ def test_custom_stdout_failed_command(capsys, tmpdir):
[
PYTHON,
"-c",
'import sys; sys.stdout.write("out");'
'sys.stderr.write("err"); sys.exit(1)',
(
'import sys; sys.stdout.write("out");'
'sys.stderr.write("err"); sys.exit(1)'
),
],
stdout=stdout,
)
Expand All @@ -439,8 +445,10 @@ def test_custom_stderr(capsys, tmpdir):
[
PYTHON,
"-c",
'import sys; sys.stdout.write("out");'
'sys.stderr.write("err"); sys.exit(0)',
(
'import sys; sys.stdout.write("out");'
'sys.stderr.write("err"); sys.exit(0)'
),
],
stderr=stderr,
)
Expand All @@ -461,8 +469,10 @@ def test_custom_stderr_failed_command(capsys, tmpdir):
[
PYTHON,
"-c",
'import sys; sys.stdout.write("out");'
'sys.stderr.write("err"); sys.exit(1)',
(
'import sys; sys.stdout.write("out");'
'sys.stderr.write("err"); sys.exit(1)'
),
],
stderr=stderr,
)
Expand Down