Changeset View
Changeset View
Standalone View
Standalone View
test/lint/check-doc.py
Show All 20 Lines | |||||
FOLDER_TEST = '/src/**/test/' | FOLDER_TEST = '/src/**/test/' | ||||
EXTENSIONS = ["*.c", "*.h", "*.cpp", "*.cc", "*.hpp"] | EXTENSIONS = ["*.c", "*.h", "*.cpp", "*.cc", "*.hpp"] | ||||
REGEX_ARG = r'(?:ForceSet|SoftSet|Get|Is)(?:Bool)?Args?(?:Set)?\(\s*"(-[^"]+)"' | REGEX_ARG = r'(?:ForceSet|SoftSet|Get|Is)(?:Bool)?Args?(?:Set)?\(\s*"(-[^"]+)"' | ||||
REGEX_DOC = r'AddArg\(\s*"(-[^"=]+?)(?:=|")' | REGEX_DOC = r'AddArg\(\s*"(-[^"=]+?)(?:=|")' | ||||
# list false positive unknows arguments | # list false positive unknows arguments | ||||
SET_FALSE_POSITIVE_UNKNOWNS = set([ | SET_FALSE_POSITIVE_UNKNOWNS = set([ | ||||
'-includeconf', | |||||
'-regtest', | '-regtest', | ||||
'-testnet', | '-testnet', | ||||
'-zmqpubhashblock', | '-zmqpubhashblock', | ||||
'-zmqpubhashtx', | '-zmqpubhashtx', | ||||
'-zmqpubrawblock', | '-zmqpubrawblock', | ||||
'-zmqpubrawtx', | '-zmqpubrawtx', | ||||
]) | ]) | ||||
▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines |