pytfm as external deps #18
@@ -21,21 +21,6 @@ steps:
|
|||||||
UV_PYTHON: "3.13"
|
UV_PYTHON: "3.13"
|
||||||
commands:
|
commands:
|
||||||
- pip install uv
|
- pip install uv
|
||||||
- cd ..
|
|
||||||
- |
|
|
||||||
cat > pyproject.toml << 'EOF'
|
|
||||||
[project]
|
|
||||||
name = "pyaqa"
|
|
||||||
version = "0.1.0"
|
|
||||||
requires-python = ">=3.13"
|
|
||||||
dependencies = []
|
|
||||||
|
|
||||||
[tool.uv.workspace]
|
|
||||||
members = ["blog.pyaqa.ru", "pytfm"]
|
|
||||||
EOF
|
|
||||||
- git clone https://git.pyaqa.ru/pi3c/pytfm.git
|
|
||||||
- cd $CI_WORKSPACE
|
|
||||||
- rm -rf .venv
|
|
||||||
- uv sync --group lints --group tests --group types --group dev
|
- uv sync --group lints --group tests --group types --group dev
|
||||||
|
|
||||||
- name: lint
|
- name: lint
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ types = [
|
|||||||
blog = "app.main:main"
|
blog = "app.main:main"
|
||||||
|
|
||||||
[tool.uv.sources]
|
[tool.uv.sources]
|
||||||
pytfm = { workspace = true }
|
pytfm = { git = "https://git.pyaqa.ru/pi3c/pytfm.git" }
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
asyncio_mode = "auto"
|
asyncio_mode = "auto"
|
||||||
|
|||||||
Reference in New Issue
Block a user