certbot/certbot-compatibility-test
Adrien Ferrand c438a397a0
Enable mypy strict mode (#8766)
Built on top of #8748, this PR reenables mypy strict mode and adds the appropriate corrections to pass the types checks.

* Upgrade mypy

* First step for acme

* Cast for the rescue

* Fixing types for certbot

* Fix typing for certbot-nginx

* Finalize type fixes, configure no optional strict check for mypy in tox

* Align requirements

* Isort

* Pylint

* Protocol for python 3.6

* Use Python 3.9 for mypy, make code compatible with Python 3.8<

* Pylint and mypy

* Pragma no cover

* Pythonic NotImplemented constant

* More type definitions

* Add comments

* Simplify typing logic

* Use vararg tuple

* Relax constraints on mypy

* Add more type

* Do not silence error if target is not defined

* Conditionally import Protocol for type checking only

* Clean up imports

* Add comments

* Align python version linting with mypy and coverage

* Just ignore types in an unused module

* Add comments

* Fix lint

* Work in progress

* Finish type control

* Isort

* Fix pylint

* Fix imports

* Fix cli subparser

* Some fixes

* Coverage

* Remove --no-strict-optional (obviously...)

* Update certbot-apache/certbot_apache/_internal/configurator.py

Co-authored-by: Brad Warren <bmw@users.noreply.github.com>

* Update certbot/certbot/_internal/display/completer.py

Co-authored-by: Brad Warren <bmw@users.noreply.github.com>

* Cleanup dns_google

* Improve lock controls and fix subparser

* Use the expected interfaces

* Fix code

Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
2021-04-05 15:04:21 -07:00
..
certbot_compatibility_test Enable mypy strict mode (#8766) 2021-04-05 15:04:21 -07:00
nginx certbot-compat: remove dupe random25863 nginx name (#8286) 2020-09-16 10:00:38 -07:00
Dockerfile Cleanup venv scripts (#8629) 2021-02-03 12:03:09 -08:00
Dockerfile-apache Add certbot-compatibility-test Dockerfiles 2016-08-10 16:08:30 -07:00
Dockerfile-nginx Add certbot-compatibility-test Dockerfiles 2016-08-10 16:08:30 -07:00
LICENSE.txt s/letsencrypt/certbot letsencrypt-compatibility-test 2016-04-13 16:58:21 -07:00
MANIFEST.in Remove unused certbot-compatibility-test docs (#7577) 2019-11-22 12:54:18 -08:00
README.rst Rename misc files 2016-04-14 10:20:23 -07:00
setup.cfg Tell the world we're Python 3 compatible (#4568) 2017-04-28 16:06:45 -07:00
setup.py Bump version to 1.14.0 2021-03-02 13:50:04 -08:00

Compatibility tests for Certbot