diff --git a/.calcipy_packaging.lock b/.calcipy_packaging.lock index 2bdea05f..05a91e5c 100644 --- a/.calcipy_packaging.lock +++ b/.calcipy_packaging.lock @@ -176,20 +176,20 @@ "version": "3.6.0" }, "corallium": { - "datetime": "2023-06-21T12:44:26.492033+00:00", + "datetime": "2023-08-14T01:26:51.193311+00:00", "domain": "https://pypi.org/pypi/{name}/json", - "latest_datetime": "2023-06-21T12:44:26.492033+00:00", - "latest_version": "0.3.0", + "latest_datetime": "2023-08-14T01:26:51.193311+00:00", + "latest_version": "0.3.3", "name": "corallium", - "version": "0.3.0" + "version": "0.3.3" }, "coverage": { - "datetime": "2023-05-29T20:07:03.422791+00:00", + "datetime": "2023-08-12T18:34:06.770617+00:00", "domain": "https://pypi.org/pypi/{name}/json", - "latest_datetime": "2023-05-29T20:07:03.422791+00:00", - "latest_version": "7.2.7", + "latest_datetime": "2023-08-12T18:34:06.770617+00:00", + "latest_version": "7.3.0", "name": "coverage", - "version": "7.2.7" + "version": "7.3.0" }, "decli": { "datetime": "2023-06-03T08:50:26.579880+00:00", @@ -472,12 +472,12 @@ "version": "0.24.1" }, "hypothesis": { - "datetime": "2023-08-06T19:58:49.384256+00:00", + "datetime": "2023-08-12T21:59:42.137283+00:00", "domain": "https://pypi.org/pypi/{name}/json", "latest_datetime": "2023-08-12T21:59:42.137283+00:00", "latest_version": "6.82.4", "name": "hypothesis", - "version": "6.82.2" + "version": "6.82.4" }, "idna": { "datetime": "2022-09-14T00:24:23.220218+00:00", @@ -648,12 +648,12 @@ "version": "1.2.0" }, "mkdocs-include-markdown-plugin": { - "datetime": "2023-08-04T04:13:55.286062+00:00", + "datetime": "2023-08-11T01:01:38.218503+00:00", "domain": "https://pypi.org/pypi/{name}/json", - "latest_datetime": "2023-08-04T04:13:55.286062+00:00", - "latest_version": "5.1.0", + "latest_datetime": "2023-08-11T01:01:38.218503+00:00", + "latest_version": "6.0.0", "name": "mkdocs-include-markdown-plugin", - "version": "5.1.0" + "version": "6.0.0" }, "mkdocs-literate-nav": { "datetime": "2023-01-06T13:47:54.586997+00:00", @@ -720,12 +720,12 @@ "version": "6.0.4" }, "mypy": { - "datetime": "2023-06-25T23:22:02.502748+00:00", + "datetime": "2023-08-10T12:46:43.407246+00:00", "domain": "https://pypi.org/pypi/{name}/json", - "latest_datetime": "2023-06-25T23:22:02.502748+00:00", - "latest_version": "1.4.1", + "latest_datetime": "2023-08-10T12:46:43.407246+00:00", + "latest_version": "1.5.0", "name": "mypy", - "version": "1.4.1" + "version": "1.5.0" }, "mypy-extensions": { "datetime": "2023-02-04T12:11:25.002510+00:00", @@ -1040,12 +1040,12 @@ "version": "0.30.2" }, "regex": { - "datetime": "2023-06-03T17:45:21.046779+00:00", + "datetime": "2023-08-08T21:09:00.307461+00:00", "domain": "https://pypi.org/pypi/{name}/json", - "latest_datetime": "2023-06-03T17:45:21.046779+00:00", - "latest_version": "2023.6.3", + "latest_datetime": "2023-08-08T21:09:00.307461+00:00", + "latest_version": "2023.8.8", "name": "regex", - "version": "2023.6.3" + "version": "2023.8.8" }, "requests": { "datetime": "2023-05-22T15:12:42.313790+00:00", @@ -1088,20 +1088,20 @@ "version": "0.2.7" }, "ruff": { - "datetime": "2023-08-01T13:55:27.898259+00:00", + "datetime": "2023-08-09T19:03:08.081240+00:00", "domain": "https://pypi.org/pypi/{name}/json", - "latest_datetime": "2023-08-01T13:55:27.898259+00:00", - "latest_version": "0.0.282", + "latest_datetime": "2023-08-09T19:03:08.081240+00:00", + "latest_version": "0.0.284", "name": "ruff", - "version": "0.0.282" + "version": "0.0.284" }, "semgrep": { - "datetime": "2023-07-29T00:22:57.769743+00:00", + "datetime": "2023-08-09T22:20:41.725921+00:00", "domain": "https://pypi.org/pypi/{name}/json", - "latest_datetime": "2023-07-29T00:22:57.769743+00:00", - "latest_version": "1.34.1", + "latest_datetime": "2023-08-09T22:20:41.725921+00:00", + "latest_version": "1.35.0", "name": "semgrep", - "version": "1.34.1" + "version": "1.35.0" }, "semver": { "datetime": "2023-06-14T11:43:20.066631+00:00", @@ -1280,12 +1280,12 @@ "version": "5.1.0" }, "virtualenv": { - "datetime": "2023-07-24T14:47:54.867737+00:00", + "datetime": "2023-08-11T15:52:32.068158+00:00", "domain": "https://pypi.org/pypi/{name}/json", - "latest_datetime": "2023-07-24T14:47:54.867737+00:00", - "latest_version": "20.24.2", + "latest_datetime": "2023-08-11T15:52:32.068158+00:00", + "latest_version": "20.24.3", "name": "virtualenv", - "version": "20.24.2" + "version": "20.24.3" }, "watchdog": { "datetime": "2023-03-20T09:20:25.047937+00:00", diff --git a/calcipy/__init__.py b/calcipy/__init__.py index 51adb651..a10c1f55 100644 --- a/calcipy/__init__.py +++ b/calcipy/__init__.py @@ -10,7 +10,7 @@ from beartype.roar import BeartypeDecorHintPep585DeprecationWarning from typing_extensions import Self # noqa: UP035 -__version__ = '1.6.2' +__version__ = '1.6.3' __pkg_name__ = 'calcipy' diff --git a/docs/docs/CHANGELOG.md b/docs/docs/CHANGELOG.md index fc35df79..16675e5c 100644 --- a/docs/docs/CHANGELOG.md +++ b/docs/docs/CHANGELOG.md @@ -1,5 +1,16 @@ ## Unreleased +### Fix + +- remove redundant beartype to lru_cache + +### Refactor + +- resolve asdf +- tried get_env_vars + +## 1.6.2 (2023-08-12) + ## 1.6.1rc0 (2023-08-12) ### Fix diff --git a/docs/docs/CODE_TAG_SUMMARY.md b/docs/docs/CODE_TAG_SUMMARY.md index 9f42906d..199d58bb 100644 --- a/docs/docs/CODE_TAG_SUMMARY.md +++ b/docs/docs/CODE_TAG_SUMMARY.md @@ -5,13 +5,12 @@ | TODO | If no stale, write out five oldest? | 2023-05-13 | [calcipy/check_for_stale_packages/_check_for_stale_packages.py:202](https://github.com/KyleKing/calcipy/blame/86c37cc4f24911db5562ef6fc8263102dbbcf5c5/calcipy/check_for_stale_packages/_check_for_stale_packages.py#L198) | | TODO | Consider adding a configuration item for ignore_patterns | 2023-02-19 | [calcipy/file_search.py:82](https://github.com/KyleKing/calcipy/blame/e6bc0415e3bf6a6df5a9d808ce0e89d0f2c5df9e/calcipy/file_search.py#L82) | | PLANNED | TaskList, | 2023-08-13 | [calcipy/tasks/all_tasks.py:57](https://github.com/KyleKing/calcipy/blame/689c23a8cfc113983cd47a90c655efec3474cec8/calcipy/tasks/all_tasks.py#L57) | -| FIXME | tasks: TaskList = [summary.with_kwargs(message=message)] | 2023-08-13 | [calcipy/tasks/all_tasks.py:69](https://github.com/KyleKing/calcipy/blame/689c23a8cfc113983cd47a90c655efec3474cec8/calcipy/tasks/all_tasks.py#L69) | | TODO | Look into running tasks from within other tasks to support '--continue' and more readable logs --> | 2023-02-19 | [docs/docs/MIGRATION.md:112](https://github.com/KyleKing/calcipy/blame/d95eb85ab7f6d45459ed7b3ff2dc99ae3c92fa61/docs/docs/MIGRATION.md#L42) | | TODO | Capture logging output and check... | 2023-02-19 | [tests/check_for_stale_packages/test_check_for_stale_packages.py:64](https://github.com/KyleKing/calcipy/blame/a8b69e7b04d9b15eabff8897f2de7703898c2afc/tests/check_for_stale_packages/test_check_for_stale_packages.py#L63) | | TODO | Capture logging output and check... | 2023-02-19 | [tests/check_for_stale_packages/test_check_for_stale_packages.py:88](https://github.com/KyleKing/calcipy/blame/3f42ad855eb7024ff48af35d496633a87d4a14ac/tests/check_for_stale_packages/test_check_for_stale_packages.py#L26) | | TODO | Is there an easier way to maintain pytest parameter IDs? | 2023-02-17 | [tests/tasks/test_test.py:14](https://github.com/KyleKing/calcipy/blame/785b9d1c3afda6fc5a2e46f2bc7d41ed2614da09/tests/tasks/test_test.py#L11) | | PLANNED | Convert to hypothesis test! | 2023-02-19 | [tests/test_dot_dict.py:9](https://github.com/KyleKing/calcipy/blame/3f42ad855eb7024ff48af35d496633a87d4a14ac/tests/test_dot_dict.py#L9) | -Found code tags for FIXME (1), TODO (6), PLANNED (2) +Found code tags for TODO (6), PLANNED (2) diff --git a/docs/docs/DEVELOPER_GUIDE.md b/docs/docs/DEVELOPER_GUIDE.md index 10c978c2..d0e63be3 100644 --- a/docs/docs/DEVELOPER_GUIDE.md +++ b/docs/docs/DEVELOPER_GUIDE.md @@ -46,40 +46,40 @@ poetry config pypi-token.pypi ... | File | Statements | Missing | Excluded | Coverage | |-----------------------------------------------------------------|--------------|-----------|------------|------------| -| `calcipy/__init__.py` | 26 | 6 | 0 | 71.9% | -| `calcipy/can_skip.py` | 17 | 1 | 0 | 92.9% | +| `calcipy/__init__.py` | 32 | 4 | 0 | 80.0% | +| `calcipy/can_skip.py` | 17 | 1 | 0 | 89.3% | | `calcipy/check_for_stale_packages/__init__.py` | 4 | 2 | 0 | 50.0% | -| `calcipy/check_for_stale_packages/_check_for_stale_packages.py` | 114 | 8 | 3 | 91.1% | -| `calcipy/cli.py` | 55 | 24 | 13 | 46.8% | +| `calcipy/check_for_stale_packages/_check_for_stale_packages.py` | 114 | 8 | 3 | 86.7% | +| `calcipy/cli.py` | 55 | 22 | 13 | 49.4% | | `calcipy/code_tag_collector/__init__.py` | 4 | 2 | 0 | 50.0% | -| `calcipy/code_tag_collector/_collector.py` | 143 | 2 | 0 | 96.8% | +| `calcipy/code_tag_collector/_collector.py` | 142 | 2 | 0 | 94.0% | | `calcipy/dot_dict/__init__.py` | 4 | 2 | 0 | 50.0% | | `calcipy/dot_dict/_dot_dict.py` | 8 | 0 | 0 | 100.0% | | `calcipy/experiments/__init__.py` | 0 | 0 | 0 | 100.0% | -| `calcipy/experiments/bump_programmatically.py` | 24 | 17 | 0 | 30.0% | -| `calcipy/experiments/check_duplicate_test_names.py` | 36 | 0 | 2 | 98.3% | -| `calcipy/file_search.py` | 38 | 0 | 2 | 100.0% | -| `calcipy/invoke_helpers.py` | 32 | 3 | 0 | 90.7% | +| `calcipy/experiments/bump_programmatically.py` | 24 | 16 | 0 | 33.3% | +| `calcipy/experiments/check_duplicate_test_names.py` | 36 | 0 | 2 | 95.0% | +| `calcipy/file_search.py` | 38 | 0 | 2 | 91.8% | +| `calcipy/invoke_helpers.py` | 30 | 2 | 0 | 81.8% | | `calcipy/md_writer/__init__.py` | 4 | 2 | 0 | 50.0% | -| `calcipy/md_writer/_writer.py` | 95 | 7 | 0 | 91.9% | +| `calcipy/md_writer/_writer.py` | 95 | 6 | 0 | 88.9% | | `calcipy/noxfile/__init__.py` | 4 | 2 | 0 | 50.0% | -| `calcipy/noxfile/_noxfile.py` | 50 | 2 | 32 | 95.2% | +| `calcipy/noxfile/_noxfile.py` | 48 | 2 | 32 | 83.8% | | `calcipy/scripts.py` | 12 | 0 | 27 | 100.0% | | `calcipy/tasks/__init__.py` | 0 | 0 | 0 | 100.0% | -| `calcipy/tasks/_invoke.py` | 80 | 30 | 0 | 64.5% | -| `calcipy/tasks/all_tasks.py` | 48 | 2 | 0 | 97.0% | -| `calcipy/tasks/cl.py` | 28 | 6 | 0 | 77.8% | -| `calcipy/tasks/defaults.py` | 20 | 0 | 0 | 92.9% | -| `calcipy/tasks/doc.py` | 45 | 0 | 8 | 100.0% | -| `calcipy/tasks/executable_utils.py` | 30 | 2 | 0 | 94.4% | -| `calcipy/tasks/lint.py` | 57 | 1 | 0 | 93.1% | +| `calcipy/tasks/_invoke.py` | 80 | 25 | 0 | 66.4% | +| `calcipy/tasks/all_tasks.py` | 48 | 0 | 0 | 95.5% | +| `calcipy/tasks/cl.py` | 28 | 5 | 0 | 75.0% | +| `calcipy/tasks/defaults.py` | 20 | 0 | 0 | 89.3% | +| `calcipy/tasks/doc.py` | 45 | 0 | 8 | 90.5% | +| `calcipy/tasks/executable_utils.py` | 27 | 0 | 0 | 87.2% | +| `calcipy/tasks/lint.py` | 57 | 1 | 0 | 83.9% | | `calcipy/tasks/nox.py` | 8 | 0 | 0 | 100.0% | -| `calcipy/tasks/pack.py` | 42 | 11 | 0 | 71.9% | -| `calcipy/tasks/stale.py` | 9 | 2 | 0 | 81.8% | +| `calcipy/tasks/pack.py` | 42 | 10 | 0 | 65.6% | +| `calcipy/tasks/stale.py` | 9 | 1 | 0 | 90.9% | | `calcipy/tasks/tags.py` | 15 | 0 | 0 | 100.0% | -| `calcipy/tasks/test.py` | 45 | 1 | 2 | 95.4% | -| `calcipy/tasks/types.py` | 17 | 0 | 0 | 100.0% | -| **Totals** | 1114 | 135 | 89 | 87.2% | +| `calcipy/tasks/test.py` | 45 | 1 | 2 | 89.2% | +| `calcipy/tasks/types.py` | 17 | 0 | 0 | 91.3% | +| **Totals** | 1112 | 116 | 89 | 83.3% | -Generated on: 2023-08-12 +Generated on: 2023-08-13 diff --git a/poetry.lock b/poetry.lock index 9ba63c2b..14f53ae0 100644 --- a/poetry.lock +++ b/poetry.lock @@ -447,13 +447,13 @@ tomlkit = ">=0.5.3,<1.0.0" [[package]] name = "corallium" -version = "0.3.2" +version = "0.3.3" description = "Shared functionality for the calcipy-ecosystem" optional = false python-versions = ">=3.8.12,<4.0.0" files = [ - {file = "corallium-0.3.2-py3-none-any.whl", hash = "sha256:c3eafca09ec1bc36c437093cc6d7670b84c36f20bba5bfe5274d385c65a1ec4a"}, - {file = "corallium-0.3.2.tar.gz", hash = "sha256:18ff0c888c62d0e47d901a9c0ee96026ac89026851736962dc5a59ceecdfd4c0"}, + {file = "corallium-0.3.3-py3-none-any.whl", hash = "sha256:54dd6ab8738267d0fd12935e820e77d2c88339fa485519399d61baa44ee39499"}, + {file = "corallium-0.3.3.tar.gz", hash = "sha256:ba7dbbac6e93aa6a131bc0e1169fb84fb6861f52e0682fdfa1c18c4812ff5d86"}, ] [package.dependencies] diff --git a/pyproject.toml b/pyproject.toml index 9db62cd5..7fde815e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ build-backend = "poetry.core.masonry.api" requires = ["poetry-core"] [tool.commitizen] -version = "1.6.2" +version = "1.6.3" version_files = ["calcipy/__init__.py:^__version", "pyproject.toml:^version"] [tool.poetry] @@ -30,7 +30,7 @@ maintainers = [] name = "calcipy" readme = "docs/README.md" repository = "https://github.com/kyleking/calcipy" -version = "1.6.2" +version = "1.6.3" [tool.poetry.dependencies] python = "^3.8.12"