Skip to content

Commit f948c9d

Browse files
[repo-helper] Configuration Update (#15)
* Updated files with 'repo_helper'. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: repo-helper[bot] <74742576+repo-helper[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent af94151 commit f948c9d

File tree

7 files changed

+19
-8
lines changed

7 files changed

+19
-8
lines changed

.github/workflows/python_ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,9 @@ jobs:
4242
4343
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
4444
run: python -m tox -e "${{ matrix.config.testenvs }}"
45+
46+
- name: "Upload Coverage 🚀"
47+
uses: actions/upload-artifact@v2
48+
with:
49+
name: "coverage-${{ matrix.config.python-version }}"
50+
path: .coverage

.github/workflows/python_ci_linux.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jobs:
4545
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
4646
run: python -m tox -e "${{ matrix.config.testenvs }}"
4747

48-
4948
- name: "Upload Coverage 🚀"
5049
uses: actions/upload-artifact@v2
5150
with:

.github/workflows/python_ci_macos.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,9 @@ jobs:
4343
4444
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
4545
run: python -m tox -e "${{ matrix.config.testenvs }}"
46+
47+
- name: "Upload Coverage 🚀"
48+
uses: actions/upload-artifact@v2
49+
with:
50+
name: "coverage-${{ matrix.config.python-version }}"
51+
path: .coverage

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ repos:
2525
- id: end-of-file-fixer
2626

2727
- repo: https://github.com/domdfcoding/pre-commit-hooks
28-
rev: v0.1.6
28+
rev: v0.2.0
2929
hooks:
3030
- id: requirements-txt-sorter
3131
args:
@@ -67,7 +67,7 @@ repos:
6767
- id: forbid-crlf
6868

6969
- repo: https://github.com/repo-helper/formate
70-
rev: v0.2.0
70+
rev: v0.2.5
7171
hooks:
7272
- id: formate
7373
exclude: ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup)\.(_)?py$

doc-source/syntax.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ These can also be combined with the Python version:
4444
4545
This will ignore coverage (or lack thereof) for the branch if all three conditions are satisfied
4646
(Python 3.6 or earlier AND not Windows AND not CPython).
47-
It is not currently possible to ignore a branch if EITHER condition is true.
47+
It is not currently possible to ignore a branch if EITHER condition is true.

formate.toml

Lines changed: 2 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"

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,15 @@ commands =
111111

112112
[flake8]
113113
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 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
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
115115
exclude = doc-source,.git,__pycache__,old,build,dist,__pkginfo__.py,setup.py,.tox,venv
116116
rst-directives =
117117
TODO
118118
envvar
119119
extras-require
120120
per-file-ignores =
121121
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
122-
*/*.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
122+
*/*.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
123123
pytest-parametrize-names-type = csv
124124
inline-quotes = "
125125
multiline-quotes = """

0 commit comments

Comments
 (0)