Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run_tests:
strategy:
matrix:
python_version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
python_version: ["3.11", "3.12", "3.13", "3.14"]
os: [ubuntu-24.04, macos-14]
runs-on: ${{ matrix.os }}
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run_tests:
strategy:
matrix:
python_version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
python_version: ["3.11", "3.12", "3.13", "3.14"]
os: [ubuntu-24.04, macos-14]
runs-on: ${{ matrix.os }}
env:
Expand Down
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ repos:
rev: 'v2.16'
hooks:
- id: vulture
- repo: local
hooks:
- id: ty
name: ty
entry: uv run --frozen --with ty ty check
language: system
files: ^(src|tests)/.*\.py$
exclude: ^src/\{\{\ python_package_name\ \}\}/__init__\.py$
- repo: https://github.com/aristanetworks/j2lint
rev: "v1.2.0"
hooks:
Expand Down
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,10 @@ repos:
rev: 'v2.14'
hooks:
- id: vulture
- repo: local
hooks:
- id: ty
name: ty
entry: uv run --frozen --with ty ty check
language: system
files: ^(src|tests)/.*\.py$
14 changes: 14 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ dependencies = [

[dependency-groups]
dev = [
"coverage[toml]>=7.10.6",
"pandas>=2.2.3",
"pytest>=9.0.3",
"pytest-cov>=6.2.1",
]

[tool.ruff]
Expand Down Expand Up @@ -59,6 +62,17 @@ lint.per-file-ignores."__init__.py" = [ "F401" ]

[tool.pytest]
ini_options.pythonpath = [ "." ]
ini_options.addopts = [
"--cov=tests",
"--cov-report=term-missing",
"--cov-report=xml",
]

[tool.coverage]
run.branch = true
run.source = [ "tests" ]
report.show_missing = true
report.skip_covered = true

[tool.vulture]
min_confidence = 90
Expand Down
15 changes: 15 additions & 0 deletions pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ scripts.{{ project_name }} = "{{ python_package_name }}.cli:trigger"
dev = [
"poethepoet>=0.34",
"pytest>=8.3.5",
"pytest-cov>=6.2.1",
"coverage[toml]>=7.10.6",
]
docs = [
"myst-nb>=1.2",
Expand Down Expand Up @@ -81,6 +83,19 @@ lint.per-file-ignores."__init__.py" = [ "F401" ]

[tool.pytest.ini_options]
pythonpath = [ "." ]
addopts = [
"--cov={{ python_package_name }}",
"--cov-report=term-missing",
"--cov-report=xml",
]

[tool.coverage.run]
branch = true
source = [ "src/{{ python_package_name }}" ]

[tool.coverage.report]
show_missing = true
skip_covered = true

[tool.poe.tasks]
# tasks for development environments
Expand Down
364 changes: 360 additions & 4 deletions uv.lock

Large diffs are not rendered by default.

Loading