From d4b170d83fe37797735ab9ea1c48bd8e2248a612 Mon Sep 17 00:00:00 2001 From: Klemek Date: Mon, 15 Jun 2026 10:13:15 +0200 Subject: [PATCH] chore: template usage --- README.md | 12 ++---------- {sample => cool_domain}/__init__.py | 0 {sample => cool_domain}/__main__.py | 0 {sample => cool_domain}/logs.py | 0 {sample => cool_domain}/params.py | 0 pyproject.toml | 6 +++--- 6 files changed, 5 insertions(+), 13 deletions(-) rename {sample => cool_domain}/__init__.py (100%) rename {sample => cool_domain}/__main__.py (100%) rename {sample => cool_domain}/logs.py (100%) rename {sample => cool_domain}/params.py (100%) diff --git a/README.md b/README.md index 4ffd648..8643ccc 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,3 @@ -[![](https://git.klemek.fr/klemek/python-template/actions/workflows/lint.yml/badge.svg?branch=main&style=flat-square)](https://git.klemek.fr/klemek/python-template/actions?workflow=lint.yml) [![](https://git.klemek.fr/klemek/python-template/actions/workflows/test.yml/badge.svg?branch=main&style=flat-square)](https://git.klemek.fr/klemek/python-template/actions?workflow=test.yml) +[![](https://git.klemek.fr/klemek/cool-domain/actions/workflows/lint.yml/badge.svg?branch=main&style=flat-square)](https://git.klemek.fr/klemek/cool-domain/actions?workflow=lint.yml) [![](https://git.klemek.fr/klemek/cool-domain/actions/workflows/test.yml/badge.svg?branch=main&style=flat-square)](https://git.klemek.fr/klemek/cool-domain/actions?workflow=test.yml) - -# Python Template - -## Use this template - -- [ ] 1. rename foler `sample` to match project -- [ ] 2. rename project in `pyproject.toml` -- [ ] 3. update `README.md` -- [ ] 4. enjoy +TODO diff --git a/sample/__init__.py b/cool_domain/__init__.py similarity index 100% rename from sample/__init__.py rename to cool_domain/__init__.py diff --git a/sample/__main__.py b/cool_domain/__main__.py similarity index 100% rename from sample/__main__.py rename to cool_domain/__main__.py diff --git a/sample/logs.py b/cool_domain/logs.py similarity index 100% rename from sample/logs.py rename to cool_domain/logs.py diff --git a/sample/params.py b/cool_domain/params.py similarity index 100% rename from sample/params.py rename to cool_domain/params.py diff --git a/pyproject.toml b/pyproject.toml index 35349ce..71d4725 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [project] -name = "sample" # TODO: 2. rename project +name = "cool-domain" version = "0.0.0" description = "Add your description here" readme = "README.md" @@ -7,7 +7,7 @@ requires-python = ">=3.14" dependencies = [] [project.scripts] -sample = "sample.__main__:main" # TODO: 2. rename project +cool-domain = "cool_domain.__main__:main" [build-system] requires = ["uv_build>=0.11.7,<0.12"] @@ -15,7 +15,7 @@ build-backend = "uv_build" [tool.uv.build-backend] module-root = "" -module-name = "sample" # TODO: 2. rename project +module-name = "cool_domain" [dependency-groups] dev = [