Skip to content

Commit 24d518b

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

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

.github/workflows/python_ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545

4646
- name: "Upload Coverage 🚀"
4747
uses: actions/upload-artifact@v2
48+
if: ${{ always() }}
4849
with:
4950
name: "coverage-${{ matrix.config.python-version }}"
5051
path: .coverage

.github/workflows/python_ci_linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747

4848
- name: "Upload Coverage 🚀"
4949
uses: actions/upload-artifact@v2
50+
if: ${{ always() }}
5051
with:
5152
name: "coverage-${{ matrix.config.python-version }}"
5253
path: .coverage

.github/workflows/python_ci_macos.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646

4747
- name: "Upload Coverage 🚀"
4848
uses: actions/upload-artifact@v2
49+
if: ${{ always() }}
4950
with:
5051
name: "coverage-${{ matrix.config.python-version }}"
5152
path: .coverage

.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

tox.ini

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@
1818
[tox]
1919
envlist = py36, py37, py38, py39, pypy3, mypy, build
2020
skip_missing_interpreters = True
21+
isolated_build = True
2122
requires =
2223
pip>=20.3.3
2324
tox-envlist>=0.1.0
24-
isolated_build = True
25+
tox-pip-version==0.0.7
2526

2627
[envlists]
2728
test = py36, py37, py38, py39, pypy3
@@ -38,10 +39,9 @@ commands =
3839
[testenv:docs]
3940
setenv = SHOW_TODOS = 1
4041
basepython = python3.8
42+
pip_version = pip>=21
4143
changedir = {toxinidir}/doc-source
42-
deps =
43-
-r{toxinidir}/requirements.txt
44-
-r{toxinidir}/doc-source/requirements.txt
44+
deps = -r{toxinidir}/doc-source/requirements.txt
4545
commands = sphinx-build -M html . ./build {posargs}
4646

4747
[testenv:build]
@@ -73,6 +73,7 @@ deps =
7373
flake8-sphinx-links>=0.0.4
7474
flake8-strftime>=0.1.1
7575
flake8-typing-imports>=1.10.0
76+
flake8-encodings>=0.1.0
7677
git+https://github.com/PyCQA/pydocstyle@5118faa7173b0e5bbc230c4adf628758e13605bf
7778
git+https://github.com/domdfcoding/flake8-quotes.git
7879
git+https://github.com/domdfcoding/flake8-rst-docstrings.git
@@ -85,7 +86,7 @@ basepython = python3.6
8586
ignore_errors = True
8687
changedir = {toxinidir}
8788
deps =
88-
mypy==0.790
89+
mypy==0.800
8990
-r{toxinidir}/tests/requirements.txt
9091
commands = mypy coverage_pyver_pragma tests {posargs}
9192

@@ -111,7 +112,7 @@ commands =
111112

112113
[flake8]
113114
max-line-length = 120
114-
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
115+
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
115116
exclude = doc-source,.git,__pycache__,old,build,dist,__pkginfo__.py,setup.py,.tox,venv
116117
rst-directives =
117118
TODO

0 commit comments

Comments
 (0)