diff options
author | Florian Bruhin <me@the-compiler.org> | 2024-03-25 12:15:03 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2024-03-25 12:15:03 +0100 |
commit | 01f4807eaf8d20dcc3802cd2febf9432568f3935 (patch) | |
tree | 7c7f3599124e6943bce9c24577b989639c942380 /.mypy.ini | |
parent | 52c83cf4851650eb86d094e03365592b4f668982 (diff) | |
download | qutebrowser-01f4807eaf8d20dcc3802cd2febf9432568f3935.tar.gz qutebrowser-01f4807eaf8d20dcc3802cd2febf9432568f3935.zip |
mypy: Set local_partial_types = True
This is going to be default behavior in mypy 2.0, see:
- #8123
- https://mypy-lang.blogspot.com/2024/03/mypy-19-released.html
- https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-local-partial-types
Diffstat (limited to '.mypy.ini')
-rw-r--r-- | .mypy.ini | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -29,6 +29,9 @@ pretty = True ### FIXME:v4 get rid of this no_implicit_optional = False +### Future default behavior +local_partial_types = True + [mypy-hunter] # https://github.com/ionelmc/python-hunter/issues/43 ignore_missing_imports = True |