mirror of
https://github.com/Mic92/nix-update.git
synced 2024-11-03 21:04:49 +03:00
fix formatting to comply
This commit is contained in:
parent
8d44ca1d8f
commit
2519da8d1c
@ -94,7 +94,11 @@ class Package:
|
||||
|
||||
|
||||
def eval_expression(
|
||||
escaped_import_path: str, attr: str, flake: bool, system: str | None, override_filename: str | None
|
||||
escaped_import_path: str,
|
||||
attr: str,
|
||||
flake: bool,
|
||||
system: str | None,
|
||||
override_filename: str | None,
|
||||
) -> str:
|
||||
system = f'"{system}"' if system else "builtins.currentSystem"
|
||||
|
||||
@ -184,7 +188,11 @@ in {{
|
||||
|
||||
def eval_attr(opts: Options) -> Package:
|
||||
expr = eval_expression(
|
||||
opts.escaped_import_path, opts.escaped_attribute, opts.flake, opts.system, opts.override_filename
|
||||
opts.escaped_import_path,
|
||||
opts.escaped_attribute,
|
||||
opts.flake,
|
||||
opts.system,
|
||||
opts.override_filename,
|
||||
)
|
||||
cmd = [
|
||||
"nix",
|
||||
|
Loading…
Reference in New Issue
Block a user