certbot/certbot-apache/certbot_apache/_internal
Adrien Ferrand dd6f2f565e
Convert Python 2 type hints to Python 3 types annotations (#8640)
Fixes #8427

This PR converts the Python 2 types hints into Python 3 types annotations. I have used the project https://github.com/ilevkivskyi/com2ann which has been designed for that specific purpose and did that very well.

The only remaining things to do were to fix broken type hints that became wrong code after migration, and to fix lines too long with the new syntax.

* Raw execution of com2ann

* Fixing broken type annotations

* Cleanup imports
2021-03-10 11:51:27 -08:00
..
augeas_lens Convert http links to https (#8287) 2020-09-23 19:36:55 +02:00
tls_configs Disable TLS session tickets in Apache (#7771) 2020-03-23 16:49:52 -07:00
__init__.py Make the contents of the apache plugin private (#7579) 2019-11-25 09:44:40 -08:00
apache_util.py Deprecate acme.typing_magic module, stop using it in certbot (#8643) 2021-03-09 16:12:32 -08:00
apacheparser.py [Apache v2] Load apacheconfig tree and gate related tests (#7710) 2020-03-23 17:05:22 -07:00
assertions.py Deprecate acme.typing_magic module, stop using it in certbot (#8643) 2021-03-09 16:12:32 -08:00
augeasparser.py Convert Python 2 type hints to Python 3 types annotations (#8640) 2021-03-10 11:51:27 -08:00
configurator.py Convert Python 2 type hints to Python 3 types annotations (#8640) 2021-03-10 11:51:27 -08:00
constants.py Disable TLS session tickets in Apache (#7771) 2020-03-23 16:49:52 -07:00
display_ops.py Minor bugfixes (#7891) 2020-04-13 10:41:39 -07:00
dualparser.py Deprecate acme.typing_magic module, stop using it in certbot (#8643) 2021-03-09 16:12:32 -08:00
entrypoint.py Cleanup more pylint issues (#7848) 2020-03-16 09:43:48 -07:00
http_01.py Convert Python 2 type hints to Python 3 types annotations (#8640) 2021-03-10 11:51:27 -08:00
interfaces.py Deprecate acme.typing_magic module, stop using it in certbot (#8643) 2021-03-09 16:12:32 -08:00
obj.py Convert Python 2 type hints to Python 3 types annotations (#8640) 2021-03-10 11:51:27 -08:00
override_arch.py apache: handle statically linked mod_ssl (#8007) 2020-06-04 10:34:10 -07:00
override_centos.py Convert Python 2 type hints to Python 3 types annotations (#8640) 2021-03-10 11:51:27 -08:00
override_darwin.py apache: handle statically linked mod_ssl (#8007) 2020-06-04 10:34:10 -07:00
override_debian.py apache: handle statically linked mod_ssl (#8007) 2020-06-04 10:34:10 -07:00
override_fedora.py apache: handle statically linked mod_ssl (#8007) 2020-06-04 10:34:10 -07:00
override_gentoo.py apache: handle statically linked mod_ssl (#8007) 2020-06-04 10:34:10 -07:00
override_suse.py Change the SUSE override to use apachectl (#8592) 2021-01-08 09:49:21 -08:00
parser.py Convert Python 2 type hints to Python 3 types annotations (#8640) 2021-03-10 11:51:27 -08:00
parsernode_util.py Minor bugfixes (#7891) 2020-04-13 10:41:39 -07:00