diff options
author | Florian Bruhin <me@the-compiler.org> | 2021-05-19 13:15:09 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2021-05-19 13:15:09 +0200 |
commit | c01b47f27b46a8568096977363b38b01d138749c (patch) | |
tree | d0b47c3e9bebc757638f57a17a20e2cbc0332d15 /.mypy.ini | |
parent | 06e49efd3d9f21058893a0c3751aa05caaf0e2f8 (diff) | |
download | qutebrowser-c01b47f27b46a8568096977363b38b01d138749c.tar.gz qutebrowser-c01b47f27b46a8568096977363b38b01d138749c.zip |
mypy: Set disallow_any_generics
See #6100
Diffstat (limited to '.mypy.ini')
-rw-r--r-- | .mypy.ini | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -3,7 +3,7 @@ python_version = 3.6 ### --strict warn_unused_configs = True -# disallow_any_generics = True +disallow_any_generics = True disallow_subclassing_any = True # disallow_untyped_calls = True # disallow_untyped_defs = True @@ -83,6 +83,10 @@ disallow_untyped_defs = True [mypy-qutebrowser.config.*] disallow_untyped_defs = True +[mypy-qutebrowser.config.configtypes] +# Needs some major work to use specific generics +disallow_any_generics = False + [mypy-qutebrowser.api.*] disallow_untyped_defs = True |