Skip to content

Commit 3f234d2

Browse files
committed
Updated config files.
1 parent 11beb3b commit 3f234d2

File tree

3 files changed

+29
-24
lines changed

3 files changed

+29
-24
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,4 @@ mutdef_plugin.py
9393
mutdef.py
9494
narrows_type.py
9595
count_demo.py
96+
_test_dates_fake_importerror.py.old

repo_helper.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ extra_sphinx_extensions:
6666

6767
tox_unmanaged:
6868
- testenv
69-
- testenv:lint
7069
- flake8
7170

7271
additional_ignore:
@@ -78,6 +77,7 @@ additional_ignore:
7877
- mutdef.py
7978
- narrows_type.py
8079
- count_demo.py
80+
- _test_dates_fake_importerror.py.old
8181

8282
tox_testenv_extras: all
8383
min_coverage: 95

tox.ini

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# * envlists
55
# * testenv:docs
66
# * testenv:build
7+
# * testenv:lint
78
# * testenv:mypy
89
# * testenv:pyup
910
# * testenv:coverage
@@ -47,6 +48,32 @@ commands =
4748
twine check dist/*.tar.gz dist/*.whl
4849
check-wheel-contents dist/
4950

51+
[testenv:lint]
52+
basepython = python3.6
53+
changedir = {toxinidir}
54+
ignore_errors = True
55+
skip_install = False
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-encodings>=0.1.0
63+
flake8-github-actions>=0.1.0
64+
flake8-pyi>=20.10.0
65+
flake8-pytest-style>=1.3.0
66+
flake8-slots>=0.1.0
67+
flake8-sphinx-links>=0.0.4
68+
flake8-strftime>=0.1.1
69+
flake8-typing-imports>=1.10.0
70+
git+https://github.com/domdfcoding/flake8-quotes.git
71+
git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git
72+
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
73+
pydocstyle>=6.0.0
74+
pygments>=2.7.1
75+
commands = python3 -m flake8_rst_docstrings_sphinx domdf_python_tools tests --allow-toolbox {posargs}
76+
5077
[testenv:mypy]
5178
basepython = python3.6
5279
ignore_errors = True
@@ -105,29 +132,6 @@ package = domdf_python_tools
105132
addopts = --color yes --durations 25
106133
timeout = 300
107134

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
128-
pygments>=2.7.1
129-
commands = python3 -m flake8_rst_docstrings_sphinx domdf_python_tools tests --allow-toolbox {posargs}
130-
131135
[flake8]
132136
max-line-length = 120
133137
select = E111 E112 E113 E121 E122 E125 E127 E128 E129 E131 E133 E201 E202 E203 E211 E222 E223 E224 E225 E225 E226 E227 E228 E231 E241 E242 E251 E261 E262 E265 E271 E272 E301 E302 E303 E304 E305 E306 E402 E502 E703 E711 E712 E713 E714 E721 W291 W292 W293 W391 W504 YTT101 YTT102 YTT103 YTT201 YTT202 YTT203 YTT204 YTT301 YTT302 YTT303 STRFTIME001 STRFTIME002 SXL001 PT001 PT002 PT003 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 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

0 commit comments

Comments
 (0)