Inline configuration
Mypy supports setting per-file configuration options inside files themselvesusing # mypy:
comments. For example:
- # mypy: disallow-any-generics
Inline configuration comments take precedence over all otherconfiguration mechanisms.