@@ -2592,7 +2592,6 @@ def get_syscaps():
25922592
25932593def check_macro_typos ():
25942594 files = get_all_files ()
2595- configs = get_config_options ()
25962595 syscaps = get_syscaps ()
25972596
25982597 macros = set (map (lambda t : t [1 ], get_defines (all = True )))
@@ -2713,7 +2712,6 @@ def check_asm_loop_labels_for_file(filename):
27132712 content = read_file (filename )
27142713
27152714 # Find function symbol name
2716- func_pattern = r"MLK_ASM_FN_SYMBOL\((.*)\)"
27172715 res = _RE_FUNC_SYMBOL .search (content )
27182716 if res is None :
27192717 raise Exception (f"Could not find function symbol in assembly file { filename } " )
@@ -2894,7 +2892,7 @@ def update_via_simpasm(
28942892 # Add syntax option for x86_64
28952893 if arch == "x86_64" and x86_64_syntax != "att" :
28962894 cmd += ["--syntax" , x86_64_syntax ]
2897- r = subprocess .run (
2895+ subprocess .run (
28982896 cmd ,
28992897 stdout = subprocess .DEVNULL ,
29002898 stderr = subprocess .PIPE ,
@@ -3290,7 +3288,7 @@ def synchronize_backends(
32903288 )
32913289
32923290 update_via_copy (
3293- f "dev/x86_64/meta.h" ,
3291+ "dev/x86_64/meta.h" ,
32943292 "mlkem/src/native/x86_64/meta.h" ,
32953293 transform = lambda c : adjust_header_guard_for_filename (
32963294 c , "mlkem/src/native/x86_64/meta.h"
@@ -3404,7 +3402,7 @@ def adjust_header_guard_for_filename(content, header_file):
34043402 yield f"#define { guard_name } "
34053403
34063404 def gen_footer ():
3407- yield f "#endif"
3405+ yield "#endif"
34083406 yield ""
34093407
34103408 guard = list (gen_guard ())
@@ -3714,7 +3712,7 @@ def gen_c_citations_for(filename, bibliography):
37143712 raise Exception (
37153713 f"Could not find bibliography entry { cite_id } referenced in { filename } "
37163714 )
3717- references .append (f " *" )
3715+ references .append (" *" )
37183716 references .append (f" * - [{ cite_id } ]" )
37193717 prefix = " * "
37203718 # Wrap long lines at 80 chars
@@ -3799,11 +3797,11 @@ def gen_bib_file(bibliography):
37993797 content .append (f"### `{ cite_id } `" )
38003798 content .append ("" )
38013799 content .append (f"* { entry .name } " )
3802- content .append (f "* Author(s):" )
3800+ content .append ("* Author(s):" )
38033801 for author in entry .authors :
38043802 content .append (f" - { author } " )
38053803 content .append (f"* URL: { entry .url } " )
3806- content .append (f "* Referenced from:" )
3804+ content .append ("* Referenced from:" )
38073805 # Usages are pairs of (filename, line_count)
38083806 # Ignore line_count for now, as it would require `autogen` after
38093807 # a change to source files.
0 commit comments