Skip to content

Commit bfa06da

Browse files
jessp01nforro
authored andcommitted
Whitelist SOURCEN to eliminate false detection like the below:
error: `SOURCEN` should be `SOURCE` ╭▸ specfile/spec_parser.py:241:46 │ 241 │ # source references: %SOURCEN, %{SOURCEN}, %{S:N} ╰╴ ━━━━━━━
1 parent 5df69db commit bfa06da

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

_typos.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
extend-ignore-re = [
33
"From:.*=\\?UTF-8\\?q\\?.*", # Ignore encoded email headers
44
]
5+
6+
# Allow these as valid words
7+
extend-words = { SOURCEN = "SOURCEN" }

0 commit comments

Comments
 (0)