diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d86eea..3c21b7f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: pip diff --git a/pyproject.toml b/pyproject.toml index 3558327..5b5824f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,7 +57,12 @@ dependencies = ["mypy>=1.0.0"] check = "mypy --install-types --non-interactive src/stochatreat tests/" [tool.coverage.report] -exclude_lines = ["no cov", "if __name__ == .__main__.:", "if TYPE_CHEKCING"] +exclude_lines = [ + "no cov", + "if __name__ == .__main__.:", + "if TYPE_CHEKCING", + "__version__ = ", +] [tool.ruff] line-length = 79