forked from lix-project/nix-eval-jobs
Apply ruff
This commit is contained in:
parent
276b68bade
commit
fcaf7773e3
|
@ -40,6 +40,7 @@
|
||||||
"-eucx"
|
"-eucx"
|
||||||
''
|
''
|
||||||
${pkgs.lib.getExe pkgs.python3.pkgs.black} "$@"
|
${pkgs.lib.getExe pkgs.python3.pkgs.black} "$@"
|
||||||
|
${pkgs.lib.getExe pkgs.ruff} --fix "$@"
|
||||||
''
|
''
|
||||||
"--" # this argument is ignored by bash
|
"--" # this argument is ignored by bash
|
||||||
];
|
];
|
||||||
|
|
|
@ -55,7 +55,8 @@ def test_flake() -> None:
|
||||||
|
|
||||||
def test_query_cache_status() -> None:
|
def test_query_cache_status() -> None:
|
||||||
results = common_test(["--flake", ".#hydraJobs", "--check-cache-status"])
|
results = common_test(["--flake", ".#hydraJobs", "--check-cache-status"])
|
||||||
# FIXME in the nix sandbox we cannot query binary caches, this would need some local one
|
# FIXME in the nix sandbox we cannot query binary caches
|
||||||
|
# this would need some local one
|
||||||
for result in results:
|
for result in results:
|
||||||
assert "isCached" in result
|
assert "isCached" in result
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue