diff --git a/CHANGELOG.md b/CHANGELOG.md index 5689d33e..f2bce29c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,9 +21,10 @@ Emojis for the following are chosen based on [gitmoji](https://gitmoji.dev/). ### ♻️ Code Refactoring +- Code formatting was shifted from [black](https://github.com/psf/black) to [Ruff](https://github.com/astral-sh/ruff). +- A Ruff based GitHub workflow was added to check the code formatting and lint the codebase on each pull request ([#109](https://github.com/scribe-org/Scribe-Data/issues/109)). - The `_update_files` directory was renamed `update_files` as these files are used in non-internal manners now ([#57](https://github.com/scribe-org/Scribe-Data/issues/57)). - A common function has been created to map Wikidata ids to noun genders ([#69](https://github.com/scribe-org/Scribe-Data/issues/69)). -- Code formatting was shifted from [black](https://github.com/psf/black) to [Ruff](https://github.com/astral-sh/ruff). ## Scribe-Data 3.2.2 diff --git a/src/scribe_data/extract_transform/languages/Portuguese/translations/translate_words.py b/src/scribe_data/extract_transform/languages/Portuguese/translations/translate_words.py index d170c943..884083d8 100644 --- a/src/scribe_data/extract_transform/languages/Portuguese/translations/translate_words.py +++ b/src/scribe_data/extract_transform/languages/Portuguese/translations/translate_words.py @@ -14,7 +14,7 @@ PATH_TO_SCRIBE_DATA_SRC = f"{PATH_TO_SCRIBE_ORG}Scribe-Data/src" sys.path.insert(0, PATH_TO_SCRIBE_DATA_SRC) -from scribe_data.utils import translate_to_other_languages +from scribe_data.utils import translate_to_other_languages # noqa: E402 SRC_LANG = "Portuguese" translate_script_dir = os.path.dirname(os.path.abspath(__file__))