From aa6750ac1b9202fc521cb31083e04ef0ea20888e Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 19 Jan 2015 00:51:33 +0100 Subject: [PATCH] run_checks: Add a comment for check_pep257. --- scripts/run_checks.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/run_checks.py b/scripts/run_checks.py index 1fb7f9d04..9c3e3f99e 100755 --- a/scripts/run_checks.py +++ b/scripts/run_checks.py @@ -103,7 +103,11 @@ def run(name, target=None, print_version=False): def check_pep257(target): - """Run pep257 checker with args passed.""" + """Run pep257 checker with args passed. + + We use this rather than run() because on some systems (e.g. Windows) no + pep257 binary is available. + """ # pylint: disable=assignment-from-no-return,no-member args = _get_args('pep257') sys.argv = ['pep257', target]