Skip to content

Commit

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

updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.267 → v0.0.270](astral-sh/ruff-pre-commit@v0.0.267...v0.0.270)

* [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] authored May 30, 2023
1 parent 14d6995 commit 65de21f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ repos:
- black==23.1.0 # keep in sync with black hook

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.267
rev: v0.0.270
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_issue342_cmake_osx_args_in_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def test_cmake_args_keyword_osx_default(
with push_env(MACOSX_DEPLOYMENT_TARGET=osx_deployment_target_env_var):
monkeypatch.setattr(skbuild.constants, "_SKBUILD_PLAT_NAME", skbuild.constants._default_skbuild_plat_name())
with pytest.raises(RuntimeError, match="exit skbuild"):
with execute_setup_py(tmp_dir, ["build", *cli_setup_args] + ["--"] + cli_cmake_args):
with execute_setup_py(tmp_dir, ["build", *cli_setup_args, "--", *cli_cmake_args]):
pass

assert mock_configure.call_count == 1
Expand Down

0 comments on commit 65de21f

Please sign in to comment.