certbot/certbot-compatibility-test/certbot_compatibility_test
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
..
configurators Convert Python 2 type hints to Python 3 types annotations (#8640) 2021-03-10 11:51:27 -08:00
testdata certbot-compat: remove dupe random25863 nginx name (#8286) 2020-09-16 10:00:38 -07:00
__init__.py s/Let's Encrypt/Certbot certbot-compatibility-test 2016-04-13 16:59:37 -07:00
errors.py s/Let's Encrypt/Certbot certbot-compatibility-test 2016-04-13 16:59:37 -07:00
interfaces.py Fix Pylint upgrade issues 2018-05-16 20:37:39 +00:00
test_driver.py Convert Python 2 type hints to Python 3 types annotations (#8640) 2021-03-10 11:51:27 -08:00
util.py Reorganize imports (#7616) 2019-12-09 15:50:20 -05:00
validator.py Stop inheriting from object. It's unneeded on Python 3+. (#8675) 2021-02-25 14:59:00 -08:00
validator_test.py Remove mock dependency (#8630) 2021-02-05 15:51:18 -08:00