certbot/certbot-nginx
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
..
certbot_nginx Convert Python 2 type hints to Python 3 types annotations (#8640) 2021-03-10 11:51:27 -08:00
tests Convert Python 2 type hints to Python 3 types annotations (#8640) 2021-03-10 11:51:27 -08:00
LICENSE.txt s/letsencrypt/certbot letsencrypt-nginx tests 2016-04-13 16:45:54 -07:00
local-oldest-requirements.txt Release 1.6.0 2020-07-07 10:33:13 -07:00
MANIFEST.in Refactor tests out of packaged module for nginx plugin (#7606) 2019-11-26 17:45:18 -08:00
README.rst s/Let's Encrypt/Certbot certbot-nginx 2016-04-13 16:49:30 -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

Nginx plugin for Certbot