From 3168fecd529b82a8f45f26312b7c68a788a48ba7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 26 Aug 2025 15:28:01 +0200 Subject: [PATCH] PT100: fix --- pkgs/clan-cli/clan_lib/fixtures/flake_hooks.py | 2 +- pkgs/clan-cli/clan_lib/fixtures/flakes/flakes.py | 4 ++-- pyproject.toml | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/clan-cli/clan_lib/fixtures/flake_hooks.py b/pkgs/clan-cli/clan_lib/fixtures/flake_hooks.py index 0c682f581..017a064a9 100644 --- a/pkgs/clan-cli/clan_lib/fixtures/flake_hooks.py +++ b/pkgs/clan-cli/clan_lib/fixtures/flake_hooks.py @@ -23,7 +23,7 @@ def substitute_flake_inputs(clan_dir: Path, clan_core_path: Path) -> None: assert flake_lock.exists(), "flake.lock should exist after flake update" -@pytest.fixture() +@pytest.fixture def offline_flake_hook(clan_core: Path) -> Callable[[Path], None]: def patch(clan_dir: Path) -> None: substitute_flake_inputs(clan_dir, clan_core) diff --git a/pkgs/clan-cli/clan_lib/fixtures/flakes/flakes.py b/pkgs/clan-cli/clan_lib/fixtures/flakes/flakes.py index e4331665e..ec0917707 100644 --- a/pkgs/clan-cli/clan_lib/fixtures/flakes/flakes.py +++ b/pkgs/clan-cli/clan_lib/fixtures/flakes/flakes.py @@ -35,7 +35,7 @@ def offline_template(tmp_path_factory: Any, offline_session_flake_hook: Any) -> return dst_dir -@pytest.fixture() +@pytest.fixture def patch_clan_template(monkeypatch: Any, offline_template: Path) -> None: @contextmanager def fake_clan_template( @@ -51,7 +51,7 @@ def patch_clan_template(monkeypatch: Any, offline_template: Path) -> None: monkeypatch.setattr("clan_lib.clan.create.clan_template", fake_clan_template) -@pytest.fixture() +@pytest.fixture def clan_flake( tmp_path: Path, patch_clan_template: Any, # noqa: ARG001 diff --git a/pyproject.toml b/pyproject.toml index 4707be383..72a7572b2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,7 +43,6 @@ lint.ignore = [ "ISC001", "PLR0911", "PLR2004", - "PT001", "PT023", "S603", "S607",