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
6 changes: 3 additions & 3 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/python-jsonschema/check-jsonschema
rev: 0.37.2
rev: 0.37.3
hooks:
- id: check-github-workflows
args: [ "--verbose" ]
Expand All @@ -19,11 +19,11 @@ repos:
hooks:
- id: tox-toml-fmt
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "v2.23.0"
rev: "v2.24.1"
hooks:
- id: pyproject-fmt
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.15.16"
rev: "v0.15.17"
hooks:
- id: ruff-format
- id: ruff
Expand Down
2 changes: 1 addition & 1 deletion src/pyproject_api/_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def run(argv): # noqa: C901, PLR0912, PLR0915
flush() # flush any output generated before
try:
# python 2 does not support loading from bytearray
if sys.version_info[0] == 2: # pragma: no branch # noqa: PLR2004
if sys.version_info[0] == 2: # pragma: no branch
content = content.decode() # pragma: no cover
parsed_message = json.loads(content)
result_file = parsed_message["result"]
Expand Down