Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 23.3.0
rev: 23.7.0
hooks:
- id: black
- repo: https://github.com/tox-dev/tox-ini-fmt
Expand All @@ -29,7 +29,7 @@ repos:
- id: blacken-docs
additional_dependencies: [black==23.3]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.0.277"
rev: "v0.0.278"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
2 changes: 1 addition & 1 deletion src/tox/execute/local_sub_process/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def write_stdin(self, content: str) -> None:
result = ov.getresult(10) # wait up to 10ms to perform the operation
if result != len(bytes_content):
msg = f"failed to write to {stdin!r}"
raise RuntimeError(msg) # noqa: TRY301
raise RuntimeError(msg)
else:
stdin.write(bytes_content)
stdin.flush()
Expand Down
2 changes: 1 addition & 1 deletion tests/plugin/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def _cannot_extend_config(config_set: ConfigSet) -> None:
):
try:
_conf(config_set) # type: ignore[no-untyped-call] # call to not typed function
raise NotImplementedError # noqa: TRY301
raise NotImplementedError
except RuntimeError as exc: # noqa: PERF203
assert str(exc) == "config set has been marked final and cannot be extended" # noqa: PT017

Expand Down