diff options
Diffstat (limited to 'test/lib/ansible_test/_util/controller/sanity/mypy/ansible-test.ini')
-rw-r--r-- | test/lib/ansible_test/_util/controller/sanity/mypy/ansible-test.ini | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/lib/ansible_test/_util/controller/sanity/mypy/ansible-test.ini b/test/lib/ansible_test/_util/controller/sanity/mypy/ansible-test.ini index 6be35724..55738f87 100644 --- a/test/lib/ansible_test/_util/controller/sanity/mypy/ansible-test.ini +++ b/test/lib/ansible_test/_util/controller/sanity/mypy/ansible-test.ini @@ -6,10 +6,10 @@ # There are ~350 errors reported in ansible-test when strict optional checking is enabled. # Until the number of occurrences are greatly reduced, it's better to disable strict checking. strict_optional = False -# There are ~13 type-abstract errors reported in ansible-test. -# This is due to assumptions mypy makes about Type and abstract types. -# See: https://discuss.python.org/t/add-abstracttype-to-the-typing-module/21996/13 -disable_error_code = type-abstract +# There are ~25 errors reported in ansible-test under the 'misc' code. +# The majority of those errors are "Only concrete class can be given", which is due to a limitation of mypy. +# See: https://github.com/python/mypy/issues/5374 +disable_error_code = misc [mypy-argcomplete] ignore_missing_imports = True |