mirror of
https://github.com/certbot/certbot.git
synced 2026-06-04 22:33:00 -04:00
Fix lint
This commit is contained in:
parent
0db6d15976
commit
a56176e079
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue