Skip to content

Commit 398b82f

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

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ repos:
5959
- id: pyupgrade
6060
args:
6161
- --py36-plus
62+
- --keep-runtime-typing
6263

6364
- repo: https://github.com/Lucas-C/pre-commit-hooks
6465
rev: v1.1.9

formate.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ collections-import-rewrite = 20
44
reformat-generics = 40
55
noqa-reformat = 60
66
ellipsis-reformat = 70
7+
squish_stubs = 80
78

89
[config]
910
indent = "\t"
@@ -19,8 +20,7 @@ priority = 50
1920
yapf_style = ".style.yapf"
2021

2122
[hooks.isort.kwargs]
22-
line_length = 115
23-
indent = "\"\t\t\""
23+
indent = "\t\t"
2424
multi_line_output = 8
2525
import_heading_stdlib = "stdlib"
2626
import_heading_thirdparty = "3rd party"
@@ -43,3 +43,4 @@ known_third_party = [
4343
"tox",
4444
]
4545
known_first_party = "tox_envlist"
46+
line_length = 115

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ requires = [ "setuptools>=40.6.0", "wheel>=0.34.2",]
33
build-backend = "setuptools.build_meta"
44

55
[tool.importcheck]
6-
always = ["tox_envlist"]
6+
always = [ "tox_envlist",]

tox.ini

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@
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
2021
tox-envlist>=0.1.0
21-
isolated_build = True
22+
tox-pip-version==0.0.7
2223

2324
[envlists]
2425
test = py36, py37, py38, py39
@@ -60,6 +61,7 @@ deps =
6061
flake8-sphinx-links>=0.0.4
6162
flake8-strftime>=0.1.1
6263
flake8-typing-imports>=1.10.0
64+
flake8-encodings>=0.1.0
6365
git+https://github.com/PyCQA/pydocstyle@5118faa7173b0e5bbc230c4adf628758e13605bf
6466
git+https://github.com/domdfcoding/flake8-quotes.git
6567
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
@@ -71,7 +73,7 @@ commands = python3 -m flake8_rst_docstrings_sphinx tox_envlist --allow-toolbox {
7173
basepython = python3.6
7274
ignore_errors = True
7375
changedir = {toxinidir}
74-
deps = mypy==0.790
76+
deps = mypy==0.800
7577
commands = mypy tox_envlist {posargs}
7678

7779
[testenv:pyup]
@@ -84,15 +86,15 @@ commands = pyup_dirs tox_envlist --py36-plus --recursive
8486

8587
[flake8]
8688
max-line-length = 120
87-
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 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 E302 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
8890
exclude = doc-source,.git,__pycache__,old,build,dist,__pkginfo__.py,setup.py,.tox,venv
8991
rst-directives =
9092
TODO
9193
envvar
9294
extras-require
9395
per-file-ignores =
9496
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
95-
*/*.pyi: E302 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
97+
*/*.pyi: 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
9698
pytest-parametrize-names-type = csv
9799
inline-quotes = "
98100
multiline-quotes = """

0 commit comments

Comments
 (0)