Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#142)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 23.12.1 → 24.1.1](psf/black@23.12.1...24.1.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] committed Jan 30, 2024
1 parent d3c91ba commit 2926248
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
- repo: https://github.com/asottile/reorder-python-imports
Expand Down
8 changes: 5 additions & 3 deletions pytest_subprocess/process_dispatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,11 @@ def __dispatch(cls, command: COMMAND) -> Optional[dict]:
raise exceptions.ProcessNotRegisteredError(
"The process '%s' was not registered."
% (
command
if isinstance(command, str)
else " ".join(str(item) for item in command),
(
command
if isinstance(command, str)
else " ".join(str(item) for item in command)
),
)
)
else:
Expand Down

0 comments on commit 2926248

Please sign in to comment.