diff --git a/.cspell.json b/.cspell.json index 7d4ef05..37eebea 100644 --- a/.cspell.json +++ b/.cspell.json @@ -14,6 +14,7 @@ "transisions" ], "ignorePaths": [ + "**/*.rst.jinja", "**/.cspell.json", ".editorconfig", ".envrc", diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 54ae3bc..2f66c9a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -22,7 +22,7 @@ jobs: - package-name permissions: id-token: write - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: ComPWA/actions/build-pypi-distribution@v1 - uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/.github/workflows/clean-caches.yml b/.github/workflows/clean-caches.yml index a66c407..939e136 100644 --- a/.github/workflows/clean-caches.yml +++ b/.github/workflows/clean-caches.yml @@ -14,7 +14,7 @@ on: jobs: cleanup: name: Remove caches - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: ComPWA/actions/clean-caches@v1 with: diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 5234093..32c6579 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -9,7 +9,7 @@ on: jobs: update_release_draft: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: release-drafter/release-drafter@v6 env: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9d6a6bc..bb8f92c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,7 +12,7 @@ repos: - id: check-useless-excludes - repo: https://github.com/ComPWA/policy - rev: 0.4.1 + rev: 0.4.2 hooks: - id: check-dev-files args: @@ -29,7 +29,7 @@ repos: - id: ruff-format - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-ast - id: check-case-conflict @@ -67,7 +67,7 @@ repos: - --in-place - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.13.3 + rev: v8.15.1 hooks: - id: cspell @@ -91,7 +91,7 @@ repos: types: - python - - repo: https://github.com/ComPWA/mirrors-pyright - rev: v1.1.383 + - repo: https://github.com/ComPWA/pyright-pre-commit + rev: v1.1.384 hooks: - id: pyright diff --git a/.vscode/settings.json b/.vscode/settings.json index ee815b8..fcc4f54 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -29,11 +29,11 @@ "[yaml]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, + "cSpell.enabled": true, "coverage-gutters.coverageFileNames": ["coverage.xml"], "coverage-gutters.coverageReportFileName": "**/htmlcov/index.html", "coverage-gutters.showGutterCoverage": false, "coverage-gutters.showLineCoverage": true, - "cSpell.enabled": true, "diffEditor.experimental.showMoves": true, "editor.formatOnSave": true, "files.associations": { @@ -57,7 +57,6 @@ }, "notebook.formatOnSave.enabled": true, "python.analysis.autoImportCompletions": false, - "python.analysis.typeCheckingMode": "strict", "python.terminal.activateEnvironment": false, "python.testing.unittestEnabled": false, "redhat.telemetry.enabled": false, diff --git a/environment.yml b/environment.yml index e28ae59..64ddb5f 100644 --- a/environment.yml +++ b/environment.yml @@ -2,7 +2,7 @@ name: sphinx-api-relink channels: - defaults dependencies: - - python==3.9.* + - python==3.12.* - pip - pip: - -e .[dev] diff --git a/pyproject.toml b/pyproject.toml index 757de40..c5cae5c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ requires-python = ">=3.9" dev = ["sphinx-api-relink[sty]"] sty = [ "mypy", - "pre-commit", + "pre-commit-uv", "ruff", "sphinx-api-relink[types]", ] @@ -106,7 +106,7 @@ platforms = ["linux-64"] PRETTIER_LEGACY_CLI = "1" [tool.pixi.dependencies] -python = "3.9.*" +python = "3.12.*" [tool.pixi.environments] default = {features = [