From ea2aaa9ee4fac6f95e4e1602356da6bc7ca09c88 Mon Sep 17 00:00:00 2001 From: Andrew Tavis McAllister Date: Sat, 24 Feb 2024 03:05:04 +0100 Subject: [PATCH] v3.2.2 minor patch to fix doc errors and hopefully fix resources path --- CHANGELOG.md | 5 +++++ docs/source/conf.py | 2 +- docs/source/index.rst | 1 + setup.py | 2 +- src/scribe_data/checkquery.py | 4 ++-- src/scribe_data/utils.py | 2 +- 6 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 81f6c5f9d..a3f345cb2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,11 @@ Emojis for the following are chosen based on [gitmoji](https://gitmoji.dev/). - Scribe-Data now outputs an SQLite table that has keys for target languages for each base language. --> +## Scribe-Data 3.2.2 + +- Minor fixes to documentation index and file docstrings to fix errors. +- Revert change to package path definition to hopefully register the resources directory. + ## Scribe-Data 3.2.1 ### ♻️ Code Refactoring diff --git a/docs/source/conf.py b/docs/source/conf.py index 0d3a3f7b2..fefbcbead 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -27,7 +27,7 @@ author = "Scribe-Data developers" # The full version, including alpha/beta/rc tags -release = "3.2.1" +release = "3.2.2" # -- General configuration --------------------------------------------------- diff --git a/docs/source/index.rst b/docs/source/index.rst index c65725258..6369dba7b 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -2,6 +2,7 @@ :height: 150 :align: center :target: https://github.com/scribe-org/Scribe-Data + ============ |platform| |rtd| |issues| |language| |pypi| |pypistatus| |license| |coc| |mastodon| |matrix| |codestyle| diff --git a/setup.py b/setup.py index 80c601dab..ba2fbdd76 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ name="scribe-data", packages=find_packages(where="src"), package_dir={"": "src"}, - version="3.2.1", + version="3.2.2", author="Andrew Tavis McAllister", author_email="andrew.t.mcallister@gmail.com", classifiers=[ diff --git a/src/scribe_data/checkquery.py b/src/scribe_data/checkquery.py index c99494430..d6e4a500c 100755 --- a/src/scribe_data/checkquery.py +++ b/src/scribe_data/checkquery.py @@ -6,10 +6,10 @@ Contents: QueryFile Class load, - __repr__, + __repr__ QueryExecutionException Class __init__, - __str__, + __str__ ping, all_queries, changed_queries, diff --git a/src/scribe_data/utils.py b/src/scribe_data/utils.py index fcbbdac88..a8b4e934e 100644 --- a/src/scribe_data/utils.py +++ b/src/scribe_data/utils.py @@ -68,7 +68,7 @@ def _load_json(package_path: str, file_name: str, root: str): _languages = _load_json( - package_path="scribe_data/resources", + package_path="scribe_data.resources", file_name="language_meta_data.json", root="languages", )