I\'m using mypy in my python project for type checking. I\'m also using PyYAML for reading and writing the project configuration files. Unfortunately, when using the recommended
Also # mypy: ignore-errors at the top of the file you want to ignore all works, if you are using shebang and coding lines should be like this:
# mypy: ignore-errors
#!/usr/bin/env python #-*- coding: utf-8 -*- # mypy: ignore-errors
Gvanrossum comment