certbot/certbot-apache/certbot_apache/_internal
ohemorange a57b29a276
[apache] Add type hints to apache configurator for mypy --strict (#10155)
I don't love the `Any` in that `Callable`, but I can't find a way to fix
it. In practice, it's either going to be `str` or `None`, but we pass an
`options` that's typed as `List[str] | str | None`, and one of the
functions has a header with a strict `str`. I tried various unions of
things and it wasn't working and I decided it's not worth it.

```
$ mypy --strict certbot-apache/certbot_apache/_internal/configurator.py 
Success: no issues found in 1 source file
```
2025-02-06 10:54:10 -08:00
..
augeas_lens Convert http links to https (#8287) 2020-09-23 19:36:55 +02:00
tests [apache] Add type hints to apache test utils (to enable mypy --strict) (#10151) 2025-01-29 15:10:31 -08:00
tls_configs Cite Mozilla ssl-config in Apache/NGINX TLS configs (#8670) (#9295) 2022-05-13 10:59:49 -07:00
__init__.py Make the contents of the apache plugin private (#7579) 2019-11-25 09:44:40 -08:00
apache_util.py remove importlib_resources (#10076) 2024-12-06 12:37:17 -08:00
apacheparser.py fix new mypy complaints 2022-11-11 18:03:57 +11:00
assertions.py Fully type certbot apache (#9177) 2022-01-31 19:17:40 +11:00
augeasparser.py Update and run isort (#9573) 2023-02-10 10:51:20 -08:00
configurator.py [apache] Add type hints to apache configurator for mypy --strict (#10155) 2025-02-06 10:54:10 -08:00
constants.py remove importlib_resources (#10076) 2024-12-06 12:37:17 -08:00
display_ops.py Update and run isort (#9573) 2023-02-10 10:51:20 -08:00
dualparser.py [apache] Add type hints to apache dualparser.py (to enable mypy --strict) (#10153) 2025-01-27 14:54:40 -08:00
entrypoint.py Add support for Alpine Linux (#9834) 2023-11-22 13:53:31 +01:00
http_01.py [apache] Add type hints to apache obj and http_01 for mypy --strict (#10154) 2025-01-28 16:33:12 -08:00
interfaces.py Fully type certbot apache (#9177) 2022-01-31 19:17:40 +11:00
obj.py [apache] Add type hints to apache obj and http_01 for mypy --strict (#10154) 2025-01-28 16:33:12 -08:00
override_alpine.py Add support for Alpine Linux (#9834) 2023-11-22 13:53:31 +01:00
override_arch.py Reimplement Certbot zope.interfaces into abstract base classes (#8950) 2021-07-29 13:45:29 -07:00
override_centos.py Update and run isort (#9573) 2023-02-10 10:51:20 -08:00
override_darwin.py Reimplement Certbot zope.interfaces into abstract base classes (#8950) 2021-07-29 13:45:29 -07:00
override_debian.py Update and run isort (#9573) 2023-02-10 10:51:20 -08:00
override_fedora.py Update and run isort (#9573) 2023-02-10 10:51:20 -08:00
override_gentoo.py Add typing to certbot.apache (#9071) 2022-01-21 10:15:48 +01:00
override_suse.py Reimplement Certbot zope.interfaces into abstract base classes (#8950) 2021-07-29 13:45:29 -07:00
override_void.py Remove all non essential references to the old Zope interfaces (#8988) 2021-08-17 14:51:26 -07:00
parser.py [apache] Add type hints to apache parser.py (to enable mypy --strict) (#10152) 2025-01-28 10:54:11 -08:00
parsernode_util.py Fully type certbot apache (#9177) 2022-01-31 19:17:40 +11:00