diff --git a/.coveragerc.toml b/.coveragerc.toml deleted file mode 100644 index cb9962c..0000000 --- a/.coveragerc.toml +++ /dev/null @@ -1,13 +0,0 @@ -[html] - directory = ".coverage/html" - -[report] - exclude_also = ["@overload", "if TYPE_CHECKING:"] - fail_under = 100.0 - skip_covered = true - skip_empty = true - -[run] - branch = true - data_file = ".coverage/data" - parallel = true diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index 2ee3aa8..b09fbd3 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -34,7 +34,7 @@ jobs: with: python-version-file: .python-version - run: uv sync - - run: uv run pytest --cov-report=term-missing:skip-covered -n=auto + - run: uv run pytest -n=auto strategy: fail-fast: false matrix: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1224a85..abc9143 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,7 +25,6 @@ repos: rev: v0.9.3 - hooks: - args: - - --coverage - --description=Template for Python packages - --github--push--tag - --package-name=dycw-template @@ -44,7 +43,7 @@ repos: - --ruff id: nitpick repo: https://github.com/dycw/pre-commit-hook-nitpick - rev: 0.4.10 + rev: 0.4.11 - hooks: - id: format-requirements - id: replace-sequence-str diff --git a/pytest.toml b/pytest.toml index de6143c..cc9cc40 100644 --- a/pytest.toml +++ b/pytest.toml @@ -3,12 +3,8 @@ "-ra", "-vv", "--color=auto", - "--cov=template", - "--cov-config=.coveragerc.toml", - "--cov-report=html", "--durations=10", "--durations-min=10", - "--cov=template_python", ] collect_imported_tests = false empty_parameter_set_mark = "fail_at_collect"