From 4ca27076f7fe62757b1ce785fea86beb91c73b46 Mon Sep 17 00:00:00 2001 From: a5chin Date: Sat, 22 Mar 2025 03:34:21 +0000 Subject: [PATCH 1/3] add: cookiecutter-data-science --- pyproject.toml | 1 + uv.lock | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 778f431..bc74df3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,7 @@ dependencies = [ [tool.uv] dev-dependencies = [ "cookiecutter>=2.6.0", + "cookiecutter-data-science>=2.1.0", "mkdocs-material>=9.5.50", "pre-commit>=4.1.0", "pyright>=1.1.392.post0", diff --git a/uv.lock b/uv.lock index 8f2c648..0400fac 100644 --- a/uv.lock +++ b/uv.lock @@ -213,6 +213,19 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/b6/d9/0137658a353168ffa9d0fc14b812d3834772040858ddd1cb6eeaf09f7a44/cookiecutter-2.6.0-py3-none-any.whl", hash = "sha256:a54a8e37995e4ed963b3e82831072d1ad4b005af736bb17b99c2cbd9d41b6e2d", size = 39177 }, ] +[[package]] +name = "cookiecutter-data-science" +version = "2.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "click" }, + { name = "cookiecutter" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a4/c1/e18d7f91f1db8f6c74c3cf84c7377a3174abfd7f55433ef01c5c5259a66d/cookiecutter_data_science-2.1.0.tar.gz", hash = "sha256:d32359d0494b67c847c79f63b8af87326f21f83b09882da6d3430b31970cf46e", size = 6712 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a5/70/b26b120050696748bf07d82bf6997306227b40efc504c69808ade2731bb2/cookiecutter_data_science-2.1.0-py3-none-any.whl", hash = "sha256:dbdc431961d6e8be94c234e2420932a4cd98ae879f3bf816b235a361e773bf99", size = 8493 }, +] + [[package]] name = "coverage" version = "7.6.12" @@ -301,6 +314,7 @@ dependencies = [ [package.dev-dependencies] dev = [ { name = "cookiecutter" }, + { name = "cookiecutter-data-science" }, { name = "mkdocs-material" }, { name = "pre-commit" }, { name = "pyright" }, @@ -319,6 +333,7 @@ requires-dist = [ [package.metadata.requires-dev] dev = [ { name = "cookiecutter", specifier = ">=2.6.0" }, + { name = "cookiecutter-data-science", specifier = ">=2.1.0" }, { name = "mkdocs-material", specifier = ">=9.5.50" }, { name = "pre-commit", specifier = ">=4.1.0" }, { name = "pyright", specifier = ">=1.1.392.post0" }, From f5e81454debe960222d246d4cc8172831f6b8bdf Mon Sep 17 00:00:00 2001 From: a5chin Date: Sat, 22 Mar 2025 03:35:47 +0000 Subject: [PATCH 2/3] fix: docs index --- docs/guides/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/index.md b/docs/guides/index.md index 25e100e..4a416cf 100644 --- a/docs/guides/index.md +++ b/docs/guides/index.md @@ -11,4 +11,4 @@ How to use this repository. - [How to use Tools](tools/index.md) - [How to use config in this repository](tools/config.md) - [How to use logger in this repository](tools/logger.md) - - [How to use trace in this repository](tools/trace.md) + - [How to use tracer in this repository](tools/tracer.md) From 751a4e83c229781f2817caaa80706362237882ba Mon Sep 17 00:00:00 2001 From: a5chin Date: Sat, 22 Mar 2025 03:36:03 +0000 Subject: [PATCH 3/3] fix: venv --- .github/actions/setup-python-with-uv/action.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/actions/setup-python-with-uv/action.yml b/.github/actions/setup-python-with-uv/action.yml index a9d6ccc..fb92780 100644 --- a/.github/actions/setup-python-with-uv/action.yml +++ b/.github/actions/setup-python-with-uv/action.yml @@ -10,6 +10,7 @@ inputs: runs: using: composite + steps: - name: Install uv uses: astral-sh/setup-uv@v5 @@ -20,3 +21,9 @@ runs: - name: Install Dependencies run: uv sync --frozen shell: bash + + - name: Activate venv + run: | + uv venv + source .venv/bin/activate + shell: bash