Changeset View
Changeset View
Standalone View
Standalone View
test/lint/lint-format-strings.py
#!/usr/bin/env python3 | #!/usr/bin/env python3 | ||||
# | # | ||||
# Copyright (c) 2018 The Bitcoin Core developers | # Copyright (c) 2018-2019 The Bitcoin Core developers | ||||
# Distributed under the MIT software license, see the accompanying | # Distributed under the MIT software license, see the accompanying | ||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php. | # file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
# | # | ||||
# Lint format strings: This program checks that the number of arguments passed | # Lint format strings: This program checks that the number of arguments passed | ||||
# to a variadic format string function matches the number of format specifiers | # to a variadic format string function matches the number of format specifiers | ||||
# in the format string. | # in the format string. | ||||
import argparse | import argparse | ||||
▲ Show 20 Lines • Show All 278 Lines • Show Last 20 Lines |