Many small structural improvements (treefmt, no cyclic imports, git-pre-commit-hook, faster CI) #50

Merged
fabianhauser merged 16 commits from update-imports into main 2025-03-26 15:10:42 +01:00
2 changed files with 8 additions and 2 deletions
Showing only changes of commit afd284a008 - Show all commits

View file

@ -11,6 +11,7 @@ let
filter filter
path path
mkDefault mkDefault
mkForce
readFile readFile
attrNames attrNames
concatStringsSep concatStringsSep
@ -32,7 +33,12 @@ let
}) })
]; ];
defaults.imports = [ defaultModule ]; defaults = {
imports = [ defaultModule ];
qois.outgoing-server-mail.enable = mkForce false;
qois.backup-client.enable = mkForce false;
};
# Calls a `test(...)` python function in the test's python file with the list of nodes and helper functions. # Calls a `test(...)` python function in the test's python file with the list of nodes and helper functions.
# Helper symbols may be added as function args when needed and can be found in: # Helper symbols may be added as function args when needed and can be found in:

View file

@ -46,4 +46,4 @@ def test(subtest, webserver):
url = "http://example.com/index.html" url = "http://example.com/index.html"
expect_http_code(webserver, "301", url) expect_http_code(webserver, "301", url)
expect_http_location(webserver, "http://localhost/index.html", url) expect_http_location(webserver, "http://docs.example.com/index.html", url)