Skip to content

Commit

Permalink
scribe-org#109 update changelog and fix final Ruff error
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtavis committed Mar 20, 2024
1 parent 32a031a commit 6a9db2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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__))
Expand Down

0 comments on commit 6a9db2d

Please sign in to comment.