From a56176e0799887e51c5c4fbb5342b84f52a740be Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Tue, 23 Nov 2021 22:10:46 +0100 Subject: [PATCH] Fix lint --- acme/acme/jws.py | 2 +- certbot-apache/certbot_apache/_internal/entrypoint.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/acme/acme/jws.py b/acme/acme/jws.py index d57983521..1499f8764 100644 --- a/acme/acme/jws.py +++ b/acme/acme/jws.py @@ -13,7 +13,7 @@ class Header(jose.Header): """ACME-specific JOSE Header. Implements nonce, kid, and url. """ nonce: Optional[bytes] = jose.field('nonce', omitempty=True, encoder=jose.encode_b64jose) - # TODO: Remove the type ignore directive once https://github.com/certbot/josepy/pull/122 is merged. + # TODO: Remove the type ignore once https://github.com/certbot/josepy/pull/122 is merged. kid: Optional[str] = jose.field('kid', omitempty=True) # type: ignore[assignment] url: Optional[str] = jose.field('url', omitempty=True) diff --git a/certbot-apache/certbot_apache/_internal/entrypoint.py b/certbot-apache/certbot_apache/_internal/entrypoint.py index 5430e9d79..6452643cf 100644 --- a/certbot-apache/certbot_apache/_internal/entrypoint.py +++ b/certbot-apache/certbot_apache/_internal/entrypoint.py @@ -56,7 +56,7 @@ def get_configurator(): os_like = util.get_systemd_os_like() if os_like: for os_name in os_like: - if os_name in OVERRIDE_CLASSES: + if os_name in OVERRIDE_CLASSES: # pylint: disable=consider-using-get override_class = OVERRIDE_CLASSES[os_name] if not override_class: # No override class found, return the generic configurator