Skip to content

Commit 3043a1b

Browse files
committed
lint: Make known violations more specific in lint-locale-dependence
1 parent 229917d commit 3043a1b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/lint/lint-locale-dependence.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@
4646
KNOWN_VIOLATIONS = [
4747
"src/dbwrapper.cpp:.*vsnprintf",
4848
"src/test/dbwrapper_tests.cpp:.*snprintf",
49-
"src/test/fuzz/locale.cpp",
50-
"src/test/fuzz/string.cpp",
51-
"src/test/util_tests.cpp"
49+
"src/test/fuzz/locale.cpp:.*setlocale",
50+
"src/test/fuzz/string.cpp:.*strtol",
51+
"src/test/fuzz/string.cpp:.*strtoul",
52+
"src/test/util_tests.cpp:.*strtoll"
5253
]
5354

5455
REGEXP_EXTERNAL_DEPENDENCIES_EXCLUSIONS = [

0 commit comments

Comments
 (0)