diff options
author | Ran Benita <ran@unusedvar.com> | 2020-08-01 13:06:13 +0300 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2020-08-01 20:39:15 +0300 |
commit | be656dd4e4444acd9600660fc3b6bf3896067dbe (patch) | |
tree | ea7998a38648f2397a818ad8f9948d2048e3b631 /setup.cfg | |
parent | 49827adcb9256c9c9c06a25729421dcc3c385edc (diff) | |
download | pytest-be656dd4e4444acd9600660fc3b6bf3896067dbe.tar.gz |
typing: set disallow_any_generics
This prevents referring to a generic type without filling in its generic
type parameters.
The FixtureDef typing might need some more refining in the future.
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -96,6 +96,7 @@ formats = sdist.tgz,bdist_wheel [mypy] mypy_path = src check_untyped_defs = True +disallow_any_generics = True ignore_missing_imports = True no_implicit_optional = True show_error_codes = True |