We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9db06b commit 9589549Copy full SHA for 9589549
run_mypy.py
@@ -111,8 +111,6 @@ def check_mypy() -> None:
111
sys.exit(1)
112
113
def main() -> int:
114
- check_mypy()
115
-
116
root = Path(__file__).absolute().parent
117
118
parser = argparse.ArgumentParser(description='Process some integers.')
@@ -124,6 +122,9 @@ def main() -> int:
124
122
parser.add_argument('--allver', action='store_true', help='Check all supported versions of python')
125
123
126
opts, args = parser.parse_known_args()
+ if not opts.mypy:
+ check_mypy()
127
+
128
if opts.pretty:
129
args.append('--pretty')
130
0 commit comments