clan-cli: Fix Ruff linting errors
clan-cli: Ruff fixes ignore noqa lint fix more ruff issues
This commit is contained in:
@@ -10,9 +10,9 @@ from clan_cli.tests.helpers import cli
|
||||
from clan_cli.vars.check import check_vars
|
||||
from clan_cli.vars.generate import (
|
||||
Generator,
|
||||
run_generators,
|
||||
create_machine_vars_interactive,
|
||||
get_generators,
|
||||
run_generators,
|
||||
)
|
||||
from clan_cli.vars.get import get_machine_var
|
||||
from clan_cli.vars.graph import all_missing_closure, requested_closure
|
||||
|
||||
@@ -79,7 +79,10 @@ class SecretStore(StoreBase):
|
||||
return Path(self.entry_prefix) / self.rel_dir(generator, name)
|
||||
|
||||
def _run_pass(
|
||||
self, *args: str, input: bytes | None = None, check: bool = True # noqa: A002
|
||||
self,
|
||||
*args: str,
|
||||
input: bytes | None = None, # noqa: A002
|
||||
check: bool = True,
|
||||
) -> subprocess.CompletedProcess[bytes]:
|
||||
cmd = [self._pass_command, *args]
|
||||
# We need bytes support here, so we can not use clan cmd.
|
||||
|
||||
Reference in New Issue
Block a user