Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#144)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Jul 24, 2024
1 parent 993e28b commit c3035c4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
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.28.6
rev: 0.29.0
hooks:
- id: check-github-workflows
args: [ "--verbose" ]
Expand All @@ -20,12 +20,12 @@ repos:
- id: tox-ini-fmt
args: ["-p", "fix"]
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "2.1.3"
rev: "2.1.4"
hooks:
- id: pyproject-fmt
additional_dependencies: ["tox>=4.15.1"]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.5.0"
rev: "v0.5.4"
hooks:
- id: ruff-format
- id: ruff
Expand Down
2 changes: 1 addition & 1 deletion src/pyproject_api/_frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ def build_editable(
self._unexpected_response("build_editable", basename, str, out, err)
return EditableResult(wheel_directory / basename, out, err)

def _unexpected_response( # noqa: PLR0913
def _unexpected_response(
self,
cmd: str,
got: Any,
Expand Down
2 changes: 1 addition & 1 deletion src/pyproject_api/_via_fresh_subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def out_err(self) -> tuple[str, str]:
class SubprocessFrontend(Frontend):
"""A frontend that creates fresh subprocess at every call to communicate with the backend."""

def __init__( # noqa: PLR0913
def __init__(
self,
root: Path,
backend_paths: tuple[Path, ...],
Expand Down
2 changes: 1 addition & 1 deletion tests/test_frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from pyproject_api._via_fresh_subprocess import SubprocessFrontend


@pytest.fixture()
@pytest.fixture
def local_builder(tmp_path: Path) -> Callable[[str], Path]:
def _f(content: str) -> Path:
toml = '[build-system]\nrequires=[]\nbuild-backend = "build_tester"\nbackend-path=["."]'
Expand Down

0 comments on commit c3035c4

Please sign in to comment.