Skip to content

Commit 5b9f2ef

Browse files
authored
Remove tox support (#1219)
* Remove tox support * Remove instances of tox
1 parent 8167f3f commit 5b9f2ef

5 files changed

+9
-59
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ pip-delete-this-directory.txt
3535

3636
# Unit test / coverage reports
3737
htmlcov/
38-
.tox/
3938
.coverage
4039
.coverage.*
4140
.cache

docs/contributing.rst

+9-5
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,12 @@ Test coverage
212212

213213
Zarr maintains 100% test coverage under the latest Python stable release (currently
214214
Python 3.8). Both unit tests and docstring doctests are included when computing
215-
coverage. Running ``tox -e py38`` will automatically run the test suite with coverage
216-
and produce a coverage report. This should be 100% before code can be accepted into the
217-
main code base.
215+
coverage. Running::
216+
217+
$ python -m pytest -v --cov=zarr --cov-config=.coveragerc zarr
218+
219+
will automatically run the test suite with coverage and produce a coverage report.
220+
This should be 100% before code can be accepted into the main code base.
218221

219222
When submitting a pull request, coverage will also be collected across all supported
220223
Python versions via the Codecov service, and will be reported back within the pull
@@ -243,9 +246,10 @@ notes (``docs/release.rst``).
243246

244247
The documentation can be built locally by running::
245248

246-
$ tox -e docs
249+
$ cd docs
250+
$ make clean; make html
247251

248-
The resulting built documentation will be available in the ``.tox/docs/tmp/html`` folder.
252+
The resulting built documentation will be available in the ``docs/_build/html`` folder.
249253

250254
Development best practices, policies and procedures
251255
---------------------------------------------------

release.txt

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
tox
21
# version=x.x.x
32
echo $version
43
git tag -a v$version -m v$version

requirements_dev_optional.txt

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ types-redis
1313
types-setuptools
1414
pymongo==4.3.2
1515
# optional test requirements
16-
tox==3.26.0
1716
coverage
1817
flake8==5.0.4
1918
pytest-cov==4.0.0

tox.ini

-51
This file was deleted.

0 commit comments

Comments
 (0)