fix: type the generate_site source segment

This commit is contained in:
Abdessamad Derraz committed 2026-11-22 00:58:05 +01:00
1 parent 6559d96ac4
commit 8603885fda
1 file changed
+1
+1
View File
@@ -163,6 +163,7 @@ class NoPageModuleReadsTheRepositoryInputs(unittest.TestCase):
build,
next(n for n in ast.parse(build).body
if isinstance(n, ast.FunctionDef) and n.name == "generate_site"))
assert source is not None
self.assertLess(source.index("siteinputs.use("), source.index("load_database("))