Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorohemorange <ebportnoy@gmail.com>2018-05-03 23:10:33 +0300
committerBrad Warren <bmw@users.noreply.github.com>2018-05-03 23:10:33 +0300
commit3eaf35f1e2473187882dc746547886b859870b2b (patch)
tree36b89c6b8a452d9047a18f807687467a5c3a16a3 /mypy.ini
parent32e85e9a230cd202d6f7cf790164f36c6210396f (diff)
Check_untyped_defs in mypy with clean output for acme (#5874)
* check_untyped_defs in mypy with clean output for acme * test entire acme module * Add typing as a dependency because it's only in the stdlib for 3.5+ * Add str_utils, modified for python2.7 compatibility * make mypy happy in acme * typing is needed in prod * we actually only need typing in acme so far * add tests and more docs for str_utils * pragma no cover * add magic_typing * s/from typing/from magic_typing/g * move typing to dev_extras * correctly set up imports * remove str_utils * only type: ignore for OpenSSL.SSL, not crypto * Since we only run mypy with python3 anyway and we're fine importing it when it's not actually there, there's no actual need for typing to be present as a dependency * comment magic_typing.py * disable wildcard-import im magic_typing * disable pylint errors * add magic_typing_test * make magic_typing tests work alongside other tests * make sure temp_typing is set * add typing as a dev dependency for python3.4 * run mypy with python3.4 on travis to get a little more testing with different environments * don't stick typing into sys.modules * reorder imports
Diffstat (limited to 'mypy.ini')
-rw-r--r--mypy.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/mypy.ini b/mypy.ini
index aac60a2ad..2bac9249f 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -1,3 +1,6 @@
[mypy]
python_version = 2.7
ignore_missing_imports = True
+
+[mypy-acme.*]
+check_untyped_defs = True