aboutsummaryrefslogtreecommitdiff
path: root/test/lint/lint-format-strings.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lint/lint-format-strings.py')
-rwxr-xr-xtest/lint/lint-format-strings.py21
1 files changed, 1 insertions, 20 deletions
diff --git a/test/lint/lint-format-strings.py b/test/lint/lint-format-strings.py
index 002c59e9a3..86a17fb0f8 100755
--- a/test/lint/lint-format-strings.py
+++ b/test/lint/lint-format-strings.py
@@ -16,27 +16,8 @@ import re
import sys
FUNCTION_NAMES_AND_NUMBER_OF_LEADING_ARGUMENTS = [
- 'FatalErrorf,0',
- 'fprintf,1',
'tfm::format,1', # Assuming tfm::::format(std::ostream&, ...
- 'LogConnectFailure,1',
- 'LogError,0',
- 'LogWarning,0',
- 'LogInfo,0',
- 'LogDebug,1',
- 'LogTrace,1',
- 'LogPrintf,0',
- 'LogPrintfCategory,1',
- 'LogPrintLevel,2',
- 'printf,0',
- 'snprintf,2',
- 'sprintf,1',
'strprintf,0',
- 'vfprintf,1',
- 'vprintf,1',
- 'vsnprintf,1',
- 'vsprintf,1',
- 'WalletLogPrintf,0',
]
RUN_LINT_FILE = 'test/lint/run-lint-format-strings.py'
@@ -81,7 +62,7 @@ def main():
matching_files_filtered = []
for matching_file in matching_files:
- if not re.search('^src/(leveldb|secp256k1|minisketch|tinyformat|test/fuzz/strprintf.cpp)|contrib/devtools/bitcoin-tidy/example_logprintf.cpp', matching_file):
+ if not re.search('^src/(leveldb|secp256k1|minisketch|tinyformat|test/fuzz/strprintf.cpp)', matching_file):
matching_files_filtered.append(matching_file)
matching_files_filtered.sort()