Skip to content

Commit f03114b

Browse files
committed
Revert pyproject tweaks
1 parent d11cc0f commit f03114b

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

docs/contributing.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,6 @@ pixi shell -e dev
4343
pixi run tests
4444
```
4545

46-
- To display the coverage report:
47-
48-
```
49-
pixi run open-coverage
50-
```
51-
5246
- To build the docs locally:
5347

5448
```

pixi.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ pytest = "*"
8686

8787
[tool.pixi.feature.lint.tasks]
8888
pre-commit-install = { cmd = "pre-commit install" }
89-
pre-commit = { cmd = "pre-commit run --all-files" }
89+
pre-commit = { cmd = "pre-commit run -v --all-files --show-diff-on-failure" }
9090
mypy = { cmd = "mypy", cwd = "." }
9191
pylint = { cmd = ["pylint", "array_api_extra"], cwd = "src" }
9292
pyright = { cmd = "basedpyright", cwd = "." }
@@ -99,11 +99,9 @@ array-api-strict = "*"
9999
numpy = "*"
100100

101101
[tool.pixi.feature.tests.tasks]
102-
tests = { cmd = "pytest -v" }
103-
tests-ci = { cmd = "pytest -v -ra --cov --cov-report=xml --cov-report=term --durations=20" }
102+
tests = { cmd = "pytest" }
103+
tests-ci = { cmd = "pytest -ra --cov --cov-report=xml --cov-report=term --durations=20" }
104104
tests-vendor = { cmd = "pytest vendor_tests" }
105-
coverage = { cmd = ["coverage", "html"], depends-on = ["tests-ci"] }
106-
open-coverage = { cmd = ["open", "htmlcov/index.html"], depends-on = ["coverage"] }
107105

108106
[tool.pixi.feature.docs.dependencies]
109107
sphinx = ">=7.0"

0 commit comments

Comments
 (0)