mirror of https://github.com/zulip/zulip.git
mypy: Run --warn-unreachable by default.
This commit is contained in:
parent
f80402c64d
commit
e6ae160a0c
|
@ -36,8 +36,10 @@ parser.add_argument('-a', '--all', action='store_true',
|
||||||
help="check all files, bypassing the default exclude list")
|
help="check all files, bypassing the default exclude list")
|
||||||
parser.add_argument('--force', action="store_true",
|
parser.add_argument('--force', action="store_true",
|
||||||
help="run tests despite possible provisioning problems")
|
help="run tests despite possible provisioning problems")
|
||||||
parser.add_argument('--warn-unreachable', action='store_true',
|
parser.add_argument('--warn-unreachable',
|
||||||
help="warn of unreachable or redundant code.")
|
action='store_false',
|
||||||
|
default=True,
|
||||||
|
help="warn of unreachable or redundant code; defaults to true")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
assert_provisioning_status_ok(args.force)
|
assert_provisioning_status_ok(args.force)
|
||||||
|
|
Loading…
Reference in New Issue