Skip to content

Commit 0205363

Browse files
committed
Updates, put a cap on Sphinx.
Add setup.py to flake8's radar.
1 parent d31fb08 commit 0205363

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
url=__url__,
2828
packages=find_packages(where="src"),
2929
package_dir={"": "src"},
30-
package_data=dict(hyperlink=["py.typed",],),
30+
package_data=dict(hyperlink=["py.typed"]),
3131
zip_safe=False,
3232
license=__license__,
3333
platforms="any",
34-
install_requires=["idna>=2.5", 'typing ; python_version<"3.5"',],
34+
install_requires=["idna>=2.5", 'typing ; python_version<"3.5"'],
3535
python_requires=">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
3636
classifiers=[
3737
"Topic :: Utilities",

tox.ini

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,17 @@ deps =
5151
{py26,py27}: typing==3.7.4.1
5252

5353
# For pytest
54-
{py26,py27,py34}: pytest==4.6.9
54+
{py26,py27,py34}: pytest==4.6.11
5555
{py35,py36,py37,py38}: pytest==5.2.4
5656

5757
# For code coverage
5858
{[testenv:coverage_report]deps}
59-
pytest-cov==2.8.1
59+
pytest-cov==2.10.0
6060

6161
# For hypothesis. Note Python 3.4 isn't supported by hypothesis.
62-
py27: hypothesis==4.43.3 # rq.filter: <4.44
63-
{py35,py36,py37,py38,py39,py2,py3}: hypothesis==5.8.4
64-
py27: mock==3.0.5
62+
py27: hypothesis==4.43.9 # rq.filter: <4.44
63+
{py35,py36,py37,py38,py39,py2,py3}: hypothesis==5.8.6
64+
py27: mock==3.0.5 # rq.filter: <4
6565

6666
setenv =
6767
{[default]setenv}
@@ -94,7 +94,7 @@ setenv =
9494
BLACK_LINT_ARGS=--check
9595

9696
commands =
97-
black {env:BLACK_LINT_ARGS:} setup.py src
97+
black {env:BLACK_LINT_ARGS:} {posargs:setup.py src}
9898

9999

100100
[testenv:black-reformat]
@@ -120,16 +120,16 @@ skip_install = True
120120

121121
deps =
122122
flake8-bugbear==20.1.4
123-
flake8==3.7.9
123+
flake8==3.8.3
124124
mccabe==0.6.1
125-
pep8-naming==0.10.0
126-
pycodestyle==2.5.0
125+
pep8-naming==0.11.1
126+
pycodestyle==2.6.0
127127
pydocstyle==5.0.2
128128
# pin pyflakes pending a release with https://github.com/PyCQA/pyflakes/pull/455
129129
git+git://github.com/PyCQA/pyflakes@ffe9386#egg=pyflakes
130130

131131
commands =
132-
flake8 {posargs:src/{env:PY_MODULE}}
132+
flake8 {posargs:setup.py src/{env:PY_MODULE}}
133133

134134

135135
[flake8]
@@ -183,7 +183,7 @@ description = run Mypy (static type checker)
183183
basepython = {[default]basepython}
184184

185185
deps =
186-
mypy==0.770
186+
mypy==0.782
187187

188188
{[default]deps}
189189

@@ -275,7 +275,7 @@ skip_install = True
275275

276276
deps =
277277
{[testenv:coverage_report]deps}
278-
codecov==2.1.4
278+
codecov==2.1.7
279279

280280
passenv =
281281
# See https://github.com/codecov/codecov-python/blob/master/README.md#using-tox
@@ -318,7 +318,7 @@ basepython = {[default]basepython}
318318

319319
deps =
320320
Sphinx==2.4.4
321-
sphinx-rtd-theme==0.4.3
321+
sphinx-rtd-theme==0.5.0
322322

323323
commands =
324324
sphinx-build \
@@ -358,8 +358,8 @@ basepython = {[default]basepython}
358358
skip_install = True
359359

360360
deps =
361-
check-manifest==0.41
362-
readme-renderer==25.0
361+
check-manifest==0.42
362+
readme-renderer==26.0
363363
twine==3.1.1
364364

365365
commands =

0 commit comments

Comments
 (0)