summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2021-11-17 12:56:08 +0100
committerGitHub <noreply@github.com>2021-11-17 12:56:08 +0100
commit5845f21095aeb178f92cad607817e7a407a4b539 (patch)
tree10d804c6828f414cb960ab44b51cd3e0991069c5 /setup.cfg
parent2c9c187b1c47adc4661246b922e3a41dc0756396 (diff)
downloadastroid-git-5845f21095aeb178f92cad607817e7a407a4b539.tar.gz
Add additional flags to ``mypy`` config and update ``type: ignore``'s (#1248)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 7482c74b..61807a22 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -65,6 +65,9 @@ skip_glob = tests/testdata
[mypy]
scripts_are_modules = True
+no_implicit_optional = True
+warn_redundant_casts = True
+show_error_codes = True
[mypy-setuptools]
ignore_missing_imports = True