summaryrefslogtreecommitdiff
path: root/scripts/internal/winmake.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/internal/winmake.py')
-rwxr-xr-xscripts/internal/winmake.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/internal/winmake.py b/scripts/internal/winmake.py
index 933951a2..4452ef09 100755
--- a/scripts/internal/winmake.py
+++ b/scripts/internal/winmake.py
@@ -12,6 +12,7 @@ that they should be deemed illegal!
"""
from __future__ import print_function
+
import argparse
import atexit
import ctypes
@@ -378,7 +379,7 @@ def setup_dev_env():
sh("%s -m pip install -U %s" % (PYTHON, " ".join(DEPS)))
-def lint():
+def check_flake8():
"""Run flake8 against all py files"""
py_files = subprocess.check_output("git ls-files")
if PY3:
@@ -560,7 +561,7 @@ def main():
sp.add_parser('install', help="build + install in develop/edit mode")
sp.add_parser('install-git-hooks', help="install GIT pre-commit hook")
sp.add_parser('install-pip', help="install pip")
- sp.add_parser('lint', help="run flake8 against all py files")
+ sp.add_parser('check_flake8', help="run flake8 against all py files")
sp.add_parser('print-access-denied', help="print AD exceptions")
sp.add_parser('print-api-speed', help="benchmark all API calls")
sp.add_parser('setup-dev-env', help="install deps")