File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,8 +82,8 @@ def validate_segment(name: str, kind: str) -> None:
8282
8383def kebab_to_cxx_namespace (vendor : str , lib_kebab : str ) -> str :
8484 v = vendor .replace ("-" , "_" )
85- l = lib_kebab .replace ("-" , "_" )
86- return f"{ v } ::{ l } "
85+ lib = lib_kebab .replace ("-" , "_" )
86+ return f"{ v } ::{ lib } "
8787
8888
8989def cmake_option_prefix (cmake_project : str ) -> str :
@@ -266,7 +266,7 @@ def git_initial_commit(dest: Path) -> None:
266266 if r .returncode != 0 :
267267 die (
268268 "Could not create initial commit (set git user.name and user.email). "
269- " Then run: git add -A && git commit -m \ " Initial import from cpp-lib-template\" "
269+ ' Then run: git add -A && git commit -m "Initial import from cpp-lib-template"'
270270 )
271271
272272
@@ -414,7 +414,9 @@ def main() -> None:
414414 "Tip: search for devmarkusb/cpp-lib-template in README.md and set your CI badge URLs,"
415415 " or re-run with --github OWNER/REPO."
416416 )
417- print ("Next: cd there, cmake --preset gcc-debug && cmake --build build/gcc-debug && ctest --preset gcc-debug" )
417+ print (
418+ "Next: cd there, cmake --preset gcc-debug && cmake --build build/gcc-debug && ctest --preset gcc-debug"
419+ )
418420
419421
420422if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments