Skip to content

Commit 7ced91a

Browse files
committed
Updated files with 'repo_helper'.
1 parent 8f6c624 commit 7ced91a

File tree

5 files changed

+22
-7
lines changed

5 files changed

+22
-7
lines changed

.github/workflows/python_ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,10 @@ 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+
if: ${{ always() }}
50+
with:
51+
name: "coverage-${{ matrix.config.python-version }}"
52+
path: .coverage

.github/workflows/python_ci_linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ jobs:
4646
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
4747
run: python -m tox -e "${{ matrix.config.testenvs }}"
4848

49-
5049
- name: "Upload Coverage 🚀"
5150
uses: actions/upload-artifact@v2
51+
if: ${{ always() }}
5252
with:
5353
name: "coverage-${{ matrix.config.python-version }}"
5454
path: .coverage

.github/workflows/python_ci_macos.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,10 @@ jobs:
4444
4545
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
4646
run: python -m tox -e "${{ matrix.config.testenvs }}"
47+
48+
- name: "Upload Coverage 🚀"
49+
uses: actions/upload-artifact@v2
50+
if: ${{ always() }}
51+
with:
52+
name: "coverage-${{ matrix.config.python-version }}"
53+
path: .coverage

.pre-commit-config.yaml

Lines changed: 5 additions & 4 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:
@@ -54,11 +54,12 @@ repos:
5454
- id: rst-inline-touching-normal
5555

5656
- repo: https://github.com/asottile/pyupgrade
57-
rev: v2.7.4
57+
rev: v2.9.0
5858
hooks:
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
@@ -67,10 +68,10 @@ repos:
6768
- id: forbid-crlf
6869

6970
- repo: https://github.com/repo-helper/formate
70-
rev: v0.1.0
71+
rev: v0.2.5
7172
hooks:
7273
- id: formate
73-
exclude: ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup)\.py$
74+
exclude: ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup)\.(_)?py$
7475

7576
- repo: https://github.com/domdfcoding/dep_checker
7677
rev: v0.4.1

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"

0 commit comments

Comments
 (0)