Skip to content

Commit

Permalink
chore: add typos exception
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy committed Dec 10, 2024
1 parent d37c687 commit 7e44fbb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.cpp2
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,8 @@ cl_build_build_script_cmd: (info: cpp2b_source_build_info, bin_outpath: fs::path
cmd_str += " \"(transpiled_src .string())$\"";
cmd_str += " -I\"(cppfront_include_dir.string())$\"";
cmd_str += " /Fe\"(fs::relative(bin_outpath).string())$\"";
cmd_str += " /Fo\"(fs::relative(bin_outpath).parent_path())$\"";
// typos:disable-line
cmd_str += " /Fo\"(fs::relative(bin_outpath).parent_path().string())$\"";

Check warning on line 675 in src/main.cpp2

View workflow job for this annotation

GitHub Actions / Typos Check

"Fo" should be "Of" or "For" or "Do" or "Go" or "To".
cmd_str += " /link";
return cmd_str;
}
Expand Down
3 changes: 3 additions & 0 deletions typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
extend-exclude = [
"src/nlohmann.json.cppm",
]

[default]
extend-ignore-re = ["(?Rm)^.*(#|//)\\s*typos:disable-line$"]

0 comments on commit 7e44fbb

Please sign in to comment.