Skip to content

Commit 775943d

Browse files
Updated files with 'repo_helper'. (#1)
Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com>
1 parent 2063543 commit 775943d

File tree

4 files changed

+14
-8
lines changed

4 files changed

+14
-8
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ repos:
6868
- id: forbid-crlf
6969

7070
- repo: https://github.com/repo-helper/formate
71-
rev: v0.3.1
71+
rev: v0.4.0
7272
hooks:
7373
- id: formate
7474
exclude: ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup)\.(_)?py$

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
[build-system]
22
requires = [ "setuptools>=40.6.0", "wheel>=0.34.2",]
33
build-backend = "setuptools.build_meta"
4+
5+
[tool.importcheck]

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
from __pkginfo__ import * # pylint: disable=wildcard-import
1414

1515
setup(
16-
description=
17-
"(experimental) Allows hooks to be defined which are called when recreating a tox testenv.",
16+
description="(experimental) Allows hooks to be defined which are called when recreating a tox testenv.",
1817
extras_require=extras_require,
1918
install_requires=install_requires,
2019
py_modules=[],

tox.ini

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,22 @@
1515
[tox]
1616
envlist = py36, py37, py38, py39, mypy, build
1717
skip_missing_interpreters = True
18+
isolated_build = True
1819
requires =
1920
pip>=20.3.3
20-
tox-envlist>=0.1.0
21-
isolated_build = True
21+
tox-envlist>=0.2.1
22+
tox-pip-version>=0.0.7
2223

2324
[envlists]
2425
test = py36, py37, py38, py39
2526
qa = mypy, lint
2627

2728
[testenv]
2829
setenv = PYTHONDEVMODE = 1
29-
commands = python --version
30+
deps = importcheck>=0.1.0
31+
commands =
32+
python --version
33+
python -m importcheck {posargs}
3034

3135
[testenv:build]
3236
skip_install = True
@@ -57,6 +61,7 @@ deps =
5761
flake8-sphinx-links>=0.0.4
5862
flake8-strftime>=0.1.1
5963
flake8-typing-imports>=1.10.0
64+
flake8-encodings>=0.1.0
6065
git+https://github.com/PyCQA/pydocstyle@5118faa7173b0e5bbc230c4adf628758e13605bf
6166
git+https://github.com/domdfcoding/flake8-quotes.git
6267
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
@@ -68,7 +73,7 @@ commands = python3 -m flake8_rst_docstrings_sphinx tox_recreate_hook --allow-too
6873
basepython = python3.6
6974
ignore_errors = True
7075
changedir = {toxinidir}
71-
deps = mypy==0.790
76+
deps = mypy==0.800
7277
commands = mypy tox_recreate_hook {posargs}
7378

7479
[testenv:pyup]
@@ -81,7 +86,7 @@ commands = pyup_dirs tox_recreate_hook --py36-plus --recursive
8186

8287
[flake8]
8388
max-line-length = 120
84-
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 E303 E304 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 E301 E302 E305 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
89+
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 E303 E304 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 ENC001 ENC002 ENC003 ENC004 Y001,Y002 Y003 Y004 Y005 Y006 Y007 Y008 Y009 Y010 Y011 Y012 Y013 Y014 Y015 Y090 Y091 E301 E302 E305 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
8590
exclude = doc-source,.git,__pycache__,old,build,dist,__pkginfo__.py,setup.py,.tox,venv
8691
rst-directives =
8792
TODO

0 commit comments

Comments
 (0)