File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1717 - name : Set up Python
1818 uses : actions/setup-python@v4
1919 with :
20- python-version : 3.10
20+ python-version : " 3.10"
2121 - name : Install build dependencies
2222 run : python -m pip install build
2323 - name : Build package
Original file line number Diff line number Diff line change @@ -39,9 +39,10 @@ commands =
3939 pytest tests/ --cov --cov-report xml --cov-report term {posargs:-v}
4040
4141[testenv:check]
42+ description = perform style checks
4243skip_install = true
4344deps =
44- black ==22.3.0
45+ black
4546 isort
4647 pylint
4748 pydocstyle
@@ -53,16 +54,18 @@ commands =
5354 pydocstyle src
5455
5556[testenv:reformat]
57+ description = automatic code formatting
5658skip_install = true
5759deps =
58- black ==22.3.0
60+ black
5961 isort
6062 toml
6163commands =
6264 isort --project xarray_einstats --section-default THIRDPARTY src tests
6365 black src tests
6466
6567[testenv:docs]
68+ description = build HTML docs
6669setenv =
6770 READTHEDOCS_PROJECT = xarray_einstats
6871 READTHEDOCS_VERSION = latest
@@ -75,13 +78,14 @@ commands =
7578 sphinx-build -d " {toxworkdir}/docs_doctree" docs/source " {toxworkdir}/docs_out" --color -v -bhtml
7679
7780[testenv:cleandocs]
81+ description = clean HTML outputs docs
7882skip_install = true
7983allowlist_externals = rm
8084commands =
8185 rm -r " {toxworkdir}/docs_out" " {toxworkdir}/docs_doctree" " {toxworkdir}/jupyter_execute" docs/source/api/generated docs/source/contributing/generated
8286
8387[testenv:viewdocs]
88+ description = open HTML docs
8489skip_install = true
85- allowlist_externals = gnome-open
8690commands =
8791 python -m webbrowser " {toxworkdir}/docs_out/index.html"
You can’t perform that action at this time.
0 commit comments