Commit 5b9f2ef 1 parent 8167f3f commit 5b9f2ef Copy full SHA for 5b9f2ef
File tree 5 files changed +9
-59
lines changed
5 files changed +9
-59
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ pip-delete-this-directory.txt
35
35
36
36
# Unit test / coverage reports
37
37
htmlcov /
38
- .tox /
39
38
.coverage
40
39
.coverage. *
41
40
.cache
Original file line number Diff line number Diff line change @@ -212,9 +212,12 @@ Test coverage
212
212
213
213
Zarr maintains 100% test coverage under the latest Python stable release (currently
214
214
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.
218
221
219
222
When submitting a pull request, coverage will also be collected across all supported
220
223
Python versions via the Codecov service, and will be reported back within the pull
@@ -243,9 +246,10 @@ notes (``docs/release.rst``).
243
246
244
247
The documentation can be built locally by running::
245
248
246
- $ tox -e docs
249
+ $ cd docs
250
+ $ make clean; make html
247
251
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.
249
253
250
254
Development best practices, policies and procedures
251
255
---------------------------------------------------
Original file line number Diff line number Diff line change 1
- tox
2
1
# version=x.x.x
3
2
echo $version
4
3
git tag -a v$version -m v$version
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ types-redis
13
13
types-setuptools
14
14
pymongo==4.3.2
15
15
# optional test requirements
16
- tox==3.26.0
17
16
coverage
18
17
flake8==5.0.4
19
18
pytest-cov==4.0.0
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments