Closed
Description
In #3388, I'm implementing in-file overrides for mypy options. Thus far, two different formats have come up, and I was asked to open this to come to an agreement on the preferred format.
Option 1: CLI-style
# mypy-options: --disallow-untyped-defs --allow-untyped-calls
Option 2: Config-style
# [mypy]
# disallow_untyped_defs = True
# disallow_untyped_calls = False
In both cases, I'm proposing that these options should have to be part of the first contiguous comment block in the file (preceded at most by lines of whitespace).