diff --git a/docs/contributing.md b/docs/contributing.md index d9fa6be..b1f8b90 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -43,12 +43,6 @@ pixi shell -e dev pixi run tests ``` -- To display the coverage report: - -``` -pixi run open-coverage -``` - - To build the docs locally: ``` diff --git a/pixi.lock b/pixi.lock index baf78aa..dbbc4b3 100644 --- a/pixi.lock +++ b/pixi.lock @@ -2375,7 +2375,7 @@ packages: - pypi: . name: array-api-extra version: 0.3.3.dev0 - sha256: df8435cc57c8fbfe077b35f002a09eaa8fe096847c945c78ccd62b0f9ececbe7 + sha256: 9daeca88bc9603038270c85c3043fc8fd1bb68ad817b7ed21db41e88c65b2964 requires_dist: - furo>=2023.8.17 ; extra == 'docs' - myst-parser>=0.13 ; extra == 'docs' diff --git a/pyproject.toml b/pyproject.toml index 2aafebd..fd4aed1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -86,7 +86,7 @@ pytest = "*" [tool.pixi.feature.lint.tasks] pre-commit-install = { cmd = "pre-commit install" } -pre-commit = { cmd = "pre-commit run --all-files" } +pre-commit = { cmd = "pre-commit run -v --all-files --show-diff-on-failure" } mypy = { cmd = "mypy", cwd = "." } pylint = { cmd = ["pylint", "array_api_extra"], cwd = "src" } pyright = { cmd = "basedpyright", cwd = "." } @@ -99,11 +99,9 @@ array-api-strict = "*" numpy = "*" [tool.pixi.feature.tests.tasks] -tests = { cmd = "pytest -v" } -tests-ci = { cmd = "pytest -v -ra --cov --cov-report=xml --cov-report=term --durations=20" } +tests = { cmd = "pytest" } +tests-ci = { cmd = "pytest -ra --cov --cov-report=xml --cov-report=term --durations=20" } tests-vendor = { cmd = "pytest vendor_tests" } -coverage = { cmd = ["coverage", "html"], depends-on = ["tests-ci"] } -open-coverage = { cmd = ["open", "htmlcov/index.html"], depends-on = ["coverage"] } [tool.pixi.feature.docs.dependencies] sphinx = ">=7.0"