certbot/certbot-nginx
Brad Warren f0f3cdad9c
fixup fromstring return types (#10162)
in https://github.com/certbot/certbot/pull/9124 we had the problem of
certbot-nginx's `Addr.fromstring` method possibly returning None which
is not possible in the `Addr` method in the certbot base class or in
certbot-apache. we fixed this by telling mypy the common
`Addr.fromstring` method returns an `Optional[Addr]` (despite it
actually always returning an `Addr`) and then unnecessarily complicating
certbot-apache's code a bit. the need for extra complexity with this
approach is going even further in
https://github.com/certbot/certbot/pull/10151 where we have to use
`cast` to assure mypy that the type isn't actually `Optional`. i
personally don't like all this
2025-01-28 16:29:52 -08:00
..
certbot_nginx fixup fromstring return types (#10162) 2025-01-28 16:29:52 -08:00
LICENSE.txt s/letsencrypt/certbot letsencrypt-nginx tests 2016-04-13 16:45:54 -07:00
MANIFEST.in make tests internal (#9638) 2023-03-28 15:01:31 -07:00
README.rst s/Let's Encrypt/Certbot certbot-nginx 2016-04-13 16:49:30 -07:00
setup.py update policy on minimum dependency versions (#10130) 2025-01-15 09:47:40 -08:00

Nginx plugin for Certbot