@@ -54,9 +54,9 @@ commands =
5454skip_install = True
5555changedir = {toxinidir}
5656deps =
57- twine
58- pep517
59- check-wheel-contents
57+ twine>=3.2.0
58+ pep517>=0.9.1
59+ check-wheel-contents>=0.1.0
6060commands =
6161 python -m pep517.build --source --binary " {toxinidir}"
6262 twine check dist/*
@@ -70,17 +70,20 @@ skip_install = True
7070deps =
7171 flake8 >=3.8.2
7272 flake8-2020 >= 1.6.0
73- flake8_strftime
74- flake8-pytest-style
75- flake8-docstrings
76- flake8-typing-imports
77- flake8-sphinx-links
78- flake8-dunder-all
79- git+https://github.com/domdfcoding/ flake8-rst-docstrings.git
80- flake8-builtins
81- pygments
73+ flake8-builtins>=1.5.3
74+ flake8-docstrings>=1.5.0
75+ flake8-dunder-all>=0.0.4
76+ flake8-pyi>=20.10.0
77+ flake8-pytest-style>=1.3.0
78+ flake8-sphinx-links>=0.0.4
79+ flake8-strftime>=0.1.1
80+ flake8-typing-imports>=1.10.0
81+ git+https://github.com/PyCQA/pydocstyle@5118faa7173b0e5bbc230c4adf628758e13605bf
8282 git+https://github.com/domdfcoding/flake8-quotes.git
83- commands = flake8 notebook2script tests
83+ git+https://github.com/domdfcoding/flake8-rst-docstrings.git
84+ git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
85+ pygments>=2.7.1
86+ commands = python3 -m flake8_rst_docstrings_sphinx notebook2script tests --allow-toolbox
8487
8588[testenv:yapf]
8689basepython = python3.7
@@ -115,59 +118,29 @@ ignore_errors = True
115118whitelist_externals = /bin/bash
116119changedir = {toxinidir}
117120deps =
118- coverage
119- coverage_pyver_pragma
121+ coverage>=5
122+ coverage_pyver_pragma>=0.0.6
120123commands =
121124 /bin/bash -c " rm -rf htmlcov"
122125 coverage html
123126 /bin/bash -c " DISPLAY=:0 firefox 'htmlcov/index.html'"
124127
125128[flake8]
126129max-line-length = 120
127- select = E301 E303 E304 E305 E306 E502 W291 W293 W391 E226 E225 E241 E231 W292 E265 E111 E112 E113 E121 E122 E125 E127 E128 E129 E131 E133 E201 E202 E203 E211 E222 E223 E224 E225 E227 E228 E242 E251 E261 E262 E271 E272 E402 E703 E711 E712 E713 E714 E721 W504 E302 YTT101 YTT102 YTT103 YTT201 YTT202 YTT203 YTT204 YTT301 YTT302 YTT303 STRFTIME001 STRFTIME002 SXL001 PT001 PT002 PT003 PT004 PT005 PT006 PT007 PT008 PT009 PT010 PT011 PT012 PT013 PT014 PT015 PT016 PT017 PT018 PT019 PT020 PT021 RST201 RST202 RST203 RST204 RST205 RST206 RST207 RST208 RST210 RST211 RST212 RST213 RST214 RST215 RST216 RST217 RST218 RST219 RST299 RST301 RST302 RST303 RST304 RST305 RST306 RST399 RST401 RST499 RST900 RST901 RST902 RST903 Q000 Q001 Q002 Q003 A001 A002 A003 TYP001 TYP002 TYP003 TYP004 TYP005 TYP006 D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417 DALL000
130+ select = E301 E303 E304 E305 E306 E502 W291 W293 W391 E226 E225 E241 E231 W292 E265 E111 E112 E113 E121 E122 E125 E127 E128 E129 E131 E133 E201 E202 E203 E211 E222 E223 E224 E225 E227 E228 E242 E251 E261 E262 E271 E272 E402 E703 E711 E712 E713 E714 E721 W504 E302 YTT101 YTT102 YTT103 YTT201 YTT202 YTT203 YTT204 YTT301 YTT302 YTT303 STRFTIME001 STRFTIME002 SXL001 PT001 PT002 PT003 PT004 PT005 PT006 PT007 PT008 PT009 PT010 PT011 PT012 PT013 PT014 PT015 PT016 PT017 PT018 PT019 PT020 PT021 RST201 RST202 RST203 RST204 RST205 RST206 RST207 RST208 RST210 RST211 RST212 RST213 RST214 RST215 RST216 RST217 RST218 RST219 RST299 RST301 RST302 RST303 RST304 RST305 RST306 RST399 RST401 RST499 RST900 RST901 RST902 RST903 Q000 Q001 Q002 Q003 A001 A002 A003 TYP001 TYP002 TYP003 TYP004 TYP005 TYP006 Y001,Y002 Y003 Y004 Y005 Y006 Y007 Y008 Y009 Y010 Y011 Y012 Y013 Y014 Y015 Y090 Y091 D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417 DALL000
128131exclude = .git,__pycache__,doc-source,old,build,dist,make_conda_recipe.py,__pkginfo__.py,setup.py
129- rst-roles =
130- class
131- func
132- mod
133- py:obj
134- py:class
135- ref
136- meth
137- exc
138- attr
139- wikipedia
140- rst:role
141- rst:dir
142- pull
143- issue
144- asset
145- confval
146132rst-directives =
147- envvar
148- exception
149- seealso
150133 TODO
151- versionadded
152- versionchanged
153- rest-example
134+ envvar
154135 extras-require
155- literalinclude
156- autoclass
157- extensions
158- deprecated
159- versionremoved
160- autofunction
161- confval
162- rst:directive
163- rst:directive:option
164- rst:role
165- pre-commit-shield
166- per-file-ignores = tests/*: D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417 DALL000
136+ per-file-ignores =
137+ tests/*: D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417 DALL000
138+ */*.pyi: D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417 DALL000
167139pytest-parametrize-names-type = csv
168140inline-quotes = "
169141multiline-quotes = " " "
170142docstring-quotes = " " "
143+ count = True
171144
172145[coverage:run]
173146plugins = coverage_pyver_pragma
0 commit comments