From 4fe475f465e25b0504a4d55de3fa34e396afbfe0 Mon Sep 17 00:00:00 2001 From: p-goulart Date: Wed, 3 Jan 2024 16:17:45 +0100 Subject: [PATCH] Appease linter --- pt_dict/console_utils.py | 1 - pt_dict/scripts/.archive/add_given_names.py | 1 - pt_dict/scripts/test_words.py | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pt_dict/console_utils.py b/pt_dict/console_utils.py index c177dab..5089744 100644 --- a/pt_dict/console_utils.py +++ b/pt_dict/console_utils.py @@ -62,4 +62,3 @@ def lookup(self, word: str, reload=False) -> dict[str, bool]: 'pt90': self.pt90.lookup(word), 'pt45': self.pt45.lookup(word), } - diff --git a/pt_dict/scripts/.archive/add_given_names.py b/pt_dict/scripts/.archive/add_given_names.py index 17c71e8..1b758ef 100644 --- a/pt_dict/scripts/.archive/add_given_names.py +++ b/pt_dict/scripts/.archive/add_given_names.py @@ -1,6 +1,5 @@ import unicodedata from os import path -from typing import Optional from pt_dict.constants import LATIN_1_ENCODING, DATA_DIR from pt_dict.dicts.dictionary import Dictionary diff --git a/pt_dict/scripts/test_words.py b/pt_dict/scripts/test_words.py index 2ac7e9f..0984b06 100644 --- a/pt_dict/scripts/test_words.py +++ b/pt_dict/scripts/test_words.py @@ -5,7 +5,7 @@ from spylls.hunspell import Dictionary from pt_dict.constants import HUNSPELL_DIR -from pt_dict.variants.variant import DIC_VARIANTS, PT_PT_90, PT_PT_45, PT_BR +from pt_dict.variants.variant import PT_BR def main():