Skip to content

Commit

Permalink
Merge pull request #2271 from barton2526/linter_violations
Browse files Browse the repository at this point in the history
ci: Update KNOWN_VIOLATIONS list for the linter for functions we don't care are locale-dependent
  • Loading branch information
jamescowens authored Aug 13, 2021
2 parents 80ce6b9 + e22ff2a commit 6f2b2df
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions test/lint/lint-locale-dependence.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,14 @@

export LC_ALL=C
KNOWN_VIOLATIONS=(
"src/bitcoin-tx.cpp.*stoul"
"src/bitcoin-tx.cpp.*trim_right"
"src/dbwrapper.cpp.*stoul"
"src/dbwrapper.cpp:.*vsnprintf"
"src/httprpc.cpp.*trim"
"src/init.cpp:.*atoi"
"src/qt/rpcconsole.cpp:.*atoi"
"src/rest.cpp:.*strtol"
"src/test/dbwrapper_tests.cpp:.*snprintf"
"src/test/fuzz/locale.cpp"
"src/test/fuzz/parse_numbers.cpp:.*atoi"
"src/torcontrol.cpp:.*atoi"
"src/torcontrol.cpp:.*strtol"
"src/util/strencodings.cpp:.*atoi"
"src/util/strencodings.cpp:.*strtol"
"src/util/strencodings.cpp:.*strtoul"
"src/util/strencodings.h:.*atoi"
"src/util/system.cpp:.*atoi"
"src/logging.h:.*strftime"
"src/gridcoin/backup.cpp:.*strftime"
"src/rpc/protocol.cpp:.*strftime"
"src/rpc/rawtransaction.cpp:.*strftime"
)

REGEXP_IGNORE_EXTERNAL_DEPENDENCIES="^src/(crypto/ctaes/|leveldb/|secp256k1/|tinyformat.h|univalue/)"
Expand Down

0 comments on commit 6f2b2df

Please sign in to comment.