Skip to content

Commit 24de3d5

Browse files
author
Guido van Rossum
committed
Drop the -i requirement for --bazel; it's not strictly needed
1 parent 3632c55 commit 24de3d5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

mypy/main.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -510,9 +510,6 @@ def add_invertible_flag(flag: str,
510510
parser.error("Missing target module, package, files, or command.")
511511
elif code_methods > 1:
512512
parser.error("May only specify one of: module/package, files, or command.")
513-
if options.bazel:
514-
if not options.incremental:
515-
fail("--bazel requires --incremental")
516513

517514
# Set build flags.
518515
if options.strict_optional_whitelist is not None:

0 commit comments

Comments
 (0)