Skip to content

Commit ec86eef

Browse files
dgrahnDan Grahndavidbrochart
authored
Update contribution with hatch instructions, remove tox. (#331)
* Update contribution with pytest instructions, remove tox. * Update to use hatch scripts * Update CONTRIBUTING.md Co-authored-by: David Brochart <david.brochart@gmail.com> --------- Co-authored-by: Dan Grahn <dan.grahn@ascendientlearning.com> Co-authored-by: David Brochart <david.brochart@gmail.com>
1 parent 2650b21 commit ec86eef

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,14 @@ $ pre-commit install
1717

1818
## Testing
1919

20-
In your environment `pip install -e '.[test]'` will be needed to be able to
21-
run all of the tests.
22-
23-
The recommended way to do this is using [tox](https://tox.readthedocs.io/en/latest/):
20+
Tests can be run through [`hatch`](https://hatch.pypa.io/) which will automatically manage test environments and dependencies.
2421

2522
```console
26-
# to list all environments
27-
$ tox -av
28-
# to run all tests for a specific environment
29-
$ tox -e py38
23+
# to run all tests
24+
$ hatch run test:test
25+
26+
# to run with coverage (used by CI)
27+
$ hatch run cov:test
3028
```
3129

3230
## Documentation

0 commit comments

Comments
 (0)