forked from valhalla/valhalla
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add spell-checking with typos (valhalla#4179)
* refactor: rename fo variable to file_op * chore: facilitate spell-checking * fix typo missed in previous PR * ci: generalize changelog workflow to 'GitHub CI' * ci: add spell-checking with typos * Update CHANGELOG.md --------- Co-authored-by: Kevin Kreiser <[email protected]>
- Loading branch information
1 parent
9e02e3b
commit 3e10f1f
Showing
7 changed files
with
84 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# See https://github.com/crate-ci/typos/blob/master/docs/reference.md | ||
# for an explanation of the available settings. | ||
|
||
[default] | ||
extend-ignore-identifiers-re = [ | ||
"OTSs", # mentioned in CHANGELOG ... ??? | ||
] | ||
|
||
extend-ignore-re = [ | ||
'"shape": ?"[^"]+"', | ||
'"encoded_polyline": ?"[^"]+"', | ||
'"id": ?"[^"]+"', | ||
'R"\([^)]+\)"', | ||
] | ||
|
||
[default.extend-words] | ||
segway = "segway" | ||
subtiles = "subtiles" | ||
nd = "nd" # node | ||
Thur = "Thur" # short for Thursday, found in timeparsing.cc | ||
|
||
# places | ||
Pont = "Pont" # Rue du Pont | ||
Filles = "Filles" # Rue des Filles | ||
Unter = "Unter" # Unter den Linden | ||
Calle = "Calle" # street in Spanish | ||
|
||
# wrong but fixing it via substitution might make comments more confusing e.g. "index for the informations" | ||
informations = "informations" | ||
|
||
[default.extend-identifiers] | ||
O_WRONLY = "O_WRONLY" | ||
countr_zero = "countr_zero" | ||
skip_opps = "skip_opps" | ||
|
||
FO_DELETE = "FO_DELETE" | ||
FOF_NO_UI = "FOF_NO_UI" | ||
|
||
[files] | ||
extend-exclude = [ | ||
"*.osm", | ||
|
||
"third_party/", | ||
"date_time/", | ||
"locales/", | ||
|
||
# test files | ||
"test_requests/", | ||
"url_de_benchmark_routes.txt", | ||
|
||
"cmake/conan.cmake", # fixing 'setings' for some reason breaks conan | ||
|
||
"test/gurka/", # contains a bunch of two-letter names to refer to edges | ||
"src/baldr/admin.cc", # contains a bunch of two-letter country-codes | ||
|
||
# the following files are excluded because they contain some split up | ||
# polyline strings that cannot be easily detected with `extend-ignore-re` | ||
"test/skadi_service.cc", | ||
"test/util_midgard.cc", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters