refactor: Move Python configuration and requirements files to scripts/ directory for better organization

This commit is contained in:
Luong NGUYEN
2026-01-09 09:55:03 +01:00
parent afa94be553
commit c2130fc769
6 changed files with 670 additions and 5 deletions

View File

@@ -77,7 +77,7 @@ jobs:
- name: Create venv and install dependencies
run: |
uv venv
uv pip install -r requirements-dev.txt
uv pip install -r scripts/requirements-dev.txt
- name: Run pytest with coverage
run: uv run pytest scripts/tests/ -v --tb=short --cov=scripts --cov-report=xml --cov-report=term-missing
@@ -107,7 +107,7 @@ jobs:
- name: Create venv and install dependencies
run: |
uv venv
uv pip install -r requirements-dev.txt
uv pip install -r scripts/requirements-dev.txt
- name: Build EPUB
run: uv run scripts/build_epub.py

View File

@@ -43,7 +43,7 @@ jobs:
- name: Create venv and install dependencies
run: |
uv venv
uv pip install -r requirements-dev.txt
uv pip install -r scripts/requirements-dev.txt
- name: Run pytest
run: uv run pytest scripts/tests/ -v --tb=short --cov=scripts --cov-report=xml --cov-report=html
@@ -140,7 +140,7 @@ jobs:
- name: Create venv and install mypy
run: |
uv venv
uv pip install -r requirements-dev.txt mypy
uv pip install -r scripts/requirements-dev.txt mypy
- name: Run mypy
run: uv run mypy scripts/ --ignore-missing-imports --no-implicit-optional
@@ -165,7 +165,7 @@ jobs:
- name: Create venv and install dependencies
run: |
uv venv
uv pip install -r requirements-dev.txt
uv pip install -r scripts/requirements-dev.txt
- name: Build EPUB
run: uv run scripts/build_epub.py