test: Make flake8 happy

This commit is contained in:
Alexandre Aubin 2021-08-22 11:17:01 +02:00
parent 2e2a41c59d
commit 3e256f8e88
2 changed files with 2 additions and 1 deletions

View file

@ -353,7 +353,7 @@ class MoulinetteSignals(object):
""" """
return self._prompt(message, is_password, confirm, color=color) return self._prompt(message, is_password, confirm, color=color)
def display(self, message, style="info"): # i18n: info def display(self, message, style="info"): # i18n: info
"""Display a message """Display a message
Display a message with a given style to the user. Display a message with a given style to the user.

View file

@ -55,6 +55,7 @@ def keys_defined_for_en():
expected_string_keys = set(find_expected_string_keys()) expected_string_keys = set(find_expected_string_keys())
keys_defined = set(keys_defined_for_en()) keys_defined = set(keys_defined_for_en())
def test_undefined_i18n_keys(): def test_undefined_i18n_keys():
undefined_keys = expected_string_keys.difference(keys_defined) undefined_keys = expected_string_keys.difference(keys_defined)
undefined_keys = sorted(undefined_keys) undefined_keys = sorted(undefined_keys)