Closed
Description
mypy_wrapper's logic for excluding files doesn't totally match up with mypy itself (though the file below isn't listed in mypy.ini
's exclude
s, so who knows what's really going on)
# this fails (but shouldn't lint this file at all)
python tools/mypy_wrapper.py $(pwd)/torch/nn/parallel/distributed.py
# but this works
mypy --config mypy.ini