Skip to content

Commit

Permalink
Update the 'typos' ignore config for 'dne'
Browse files Browse the repository at this point in the history
  • Loading branch information
brianaydemir committed Dec 26, 2024
1 parent e0ab1b8 commit a03ab5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
extend-ignore-identifiers-re = [
## Ignore TLAs. Two and three letter acronyms are not worth fixing.
"^[A-Za-z]{2,3}$",
## Ignore the 'dne' identifiers in server_utils/origin_test.go.
"(.*)_dne$",
]

[default.extend-identifiers]
## The 'cipher' library uses "Encrypter"; 'typos' prefers "Encryptor".
NewCFBEncrypter = "NewCFBEncrypter"
## HTCondor's daemon names follow the usual "{word} + 'd'" convention.
StartdAttrs = "StartdAttrs"
## Other one-off identifiers that do not need fixing.
sentinel_dne = "sentinel_dne" # server_utils/origin_test.go

[files]
extend-exclude = [
Expand Down

0 comments on commit a03ab5b

Please sign in to comment.