certbot/certbot-apache/certbot_apache/_internal
ohemorange f94c981dfd
[apache] Add type hints to apache obj and http_01 for mypy --strict (#10154)
```
$ mypy --strict certbot-apache/certbot_apache/_internal/http_01.py 
Success: no issues found in 1 source file
$ mypy --strict certbot-apache/certbot_apache/_internal/obj.py 
Success: no issues found in 1 source file
```

PEP 526 says to declare types of unpacked tuples beforehand:
https://peps.python.org/pep-0526/#global-and-local-variable-annotations.
Could have just declared it in apache, but improved the acme return type
while I was at it.

Once again, `typing.Pattern` is deprecated in favor of `re.Pattern` so
changing that while parametrizing the type
2025-01-28 16:33:12 -08:00
..
augeas_lens Convert http links to https (#8287) 2020-09-23 19:36:55 +02:00
tests remove importlib_resources (#10076) 2024-12-06 12:37:17 -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 fixup fromstring return types (#10162) 2025-01-28 16:29:52 -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