Changeset View
Changeset View
Standalone View
Standalone View
test/lint/check-doc.py
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | |||||
# list false positive unknows arguments | # list false positive unknows arguments | ||||
SET_FALSE_POSITIVE_UNKNOWNS = set(['-zmqpubhashblock', | SET_FALSE_POSITIVE_UNKNOWNS = set(['-zmqpubhashblock', | ||||
'-zmqpubhashtx', | '-zmqpubhashtx', | ||||
'-zmqpubrawblock', | '-zmqpubrawblock', | ||||
'-zmqpubrawtx']) | '-zmqpubrawtx']) | ||||
def main(): | def main(): | ||||
top_level = check_output(TOP_LEVEL, shell=True).decode().strip() | top_level = check_output(TOP_LEVEL, shell=True, | ||||
universal_newlines=True).strip() | |||||
source_files = [] | source_files = [] | ||||
test_files = [] | test_files = [] | ||||
for extension in EXTENSIONS: | for extension in EXTENSIONS: | ||||
source_files += glob.glob(top_level + | source_files += glob.glob(top_level + | ||||
FOLDER_SRC + extension, recursive=True) | FOLDER_SRC + extension, recursive=True) | ||||
test_files += glob.glob(top_level + FOLDER_TEST + | test_files += glob.glob(top_level + FOLDER_TEST + | ||||
extension, recursive=True) | extension, recursive=True) | ||||
Show All 27 Lines |