Migrate Python guidelines from Poetry to uv
This commit is contained in:
+2
-2
@@ -14,7 +14,7 @@ template/
|
||||
├── <tool_name>.py # Entry point — named by purpose or tool name
|
||||
├── <tool_name>.spec # PyInstaller spec (only for projects shipping an .exe)
|
||||
├── prebuild.py # Pre-build script: venv check, version print, console= rewrite
|
||||
├── pyproject.toml # Poetry config (ruff, mypy, pytest)
|
||||
├── pyproject.toml # Project config (ruff, mypy, pytest)
|
||||
├── docs/
|
||||
│ └── .gitkeep # Detailed documentation lives here, never in the root
|
||||
├── src/
|
||||
@@ -36,7 +36,7 @@ copies themselves **are committed** with the project and are never edited in pla
|
||||
- **DEBUG mode** via `ENV_DEBUG=true` in `.env` (adds "DEV" suffix to version: v1.2.3DEV)
|
||||
- **Build configuration** via `ENV_BUILD_CONSOLE` and `ENV_BUILD_SPEC` in `.env`, applied by `prebuild.py`
|
||||
- **loguru** for logging (never print for debugging)
|
||||
- **Poetry** for dependency management, `poetry.lock` committed
|
||||
- **uv** for dependency management and Python versions, `uv.lock` committed
|
||||
- **pytest** for testing (no unittest)
|
||||
- **ruff + mypy** for linting and type checking (120-character lines)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user