Skip to content

Commit cc6d14f

Browse files
committed
Bump deprecation_alias version.
1 parent bfeb716 commit cc6d14f

File tree

4 files changed

+26
-27
lines changed

4 files changed

+26
-27
lines changed

domdf_python_tools/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
from typing import Any, Callable, Dict, Iterable, List, Optional, Tuple, Union
8282

8383
# 3rd party
84-
from deprecation_alias import deprecated # type: ignore # TODO
84+
from deprecation_alias import deprecated
8585

8686
# this package
8787
import domdf_python_tools.words

repo_helper.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ extra_sphinx_extensions:
6262

6363
tox_unmanaged:
6464
- testenv
65+
- testenv:lint
6566
- flake8
6667

6768
tox_testenv_extras: all

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
deprecation-alias>=0.1.0
1+
deprecation-alias>=0.1.1
22
importlib-metadata>=1.5.0; python_version < "3.8"
33
importlib-resources>=3.0.0; python_version < "3.7"
44
natsort>=7.1.0

tox.ini

Lines changed: 23 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# * envlists
55
# * testenv:docs
66
# * testenv:build
7-
# * testenv:lint
87
# * testenv:mypy
98
# * testenv:pyup
109
# * testenv:coverage
@@ -48,30 +47,6 @@ commands =
4847
twine check dist/*.tar.gz dist/*.whl
4948
check-wheel-contents dist/
5049

51-
[testenv:lint]
52-
basepython = python3.6
53-
changedir = {toxinidir}
54-
ignore_errors = True
55-
skip_install = True
56-
deps =
57-
flake8 >=3.8.2
58-
flake8-2020 >= 1.6.0
59-
flake8-builtins>=1.5.3
60-
flake8-docstrings>=1.5.0
61-
flake8-dunder-all>=0.1.1
62-
flake8-github-actions>=0.1.0
63-
flake8-pyi>=20.10.0
64-
flake8-pytest-style>=1.3.0
65-
flake8-sphinx-links>=0.0.4
66-
flake8-strftime>=0.1.1
67-
flake8-typing-imports>=1.10.0
68-
git+https://github.com/PyCQA/pydocstyle@5118faa7173b0e5bbc230c4adf628758e13605bf
69-
git+https://github.com/domdfcoding/flake8-quotes.git
70-
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
71-
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
72-
pygments>=2.7.1
73-
commands = python3 -m flake8_rst_docstrings_sphinx domdf_python_tools tests --allow-toolbox {posargs}
74-
7550
[testenv:mypy]
7651
basepython = python3.6
7752
ignore_errors = True
@@ -130,6 +105,29 @@ package = domdf_python_tools
130105
addopts = --color yes --durations 25
131106
timeout = 300
132107

108+
[testenv:lint]
109+
basepython = python3.6
110+
changedir = {toxinidir}
111+
ignore_errors = True
112+
deps =
113+
flake8 >=3.8.2
114+
flake8-2020 >= 1.6.0
115+
flake8-builtins>=1.5.3
116+
flake8-docstrings>=1.5.0
117+
flake8-dunder-all>=0.1.1
118+
flake8-github-actions>=0.1.0
119+
flake8-pyi>=20.10.0
120+
flake8-pytest-style>=1.3.0
121+
flake8-sphinx-links>=0.0.4
122+
flake8-strftime>=0.1.1
123+
flake8-typing-imports>=1.10.0
124+
git+https://github.com/PyCQA/pydocstyle@5118faa7173b0e5bbc230c4adf628758e13605bf
125+
git+https://github.com/domdfcoding/flake8-quotes.git
126+
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
127+
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git@v2
128+
pygments>=2.7.1
129+
commands = python3 -m flake8_rst_docstrings_sphinx domdf_python_tools tests --allow-toolbox {posargs}
130+
133131
[gh-actions]
134132
python =
135133
3.6: py36, build

0 commit comments

Comments
 (0)