Skip to content

Commit 1f0ec42

Browse files
[pre-commit.ci] pre-commit autoupdate (#1)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Tobias Raabe <[email protected]>
1 parent 8bf4926 commit 1f0ec42

File tree

2 files changed

+20
-28
lines changed

2 files changed

+20
-28
lines changed

.github/workflows/continuous-integration-workflow.yml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
21-
python-version: ['3.6', '3.7', '3.8']
21+
python-version: ['3.6', '3.7', '3.8', '3.9']
2222

2323
steps:
2424
- uses: actions/checkout@v2
2525
- uses: r-lib/actions/setup-tinytex@v1
26-
- uses: goanpeca/setup-miniconda@v1
26+
- uses: conda-incubator/setup-miniconda@v2
2727
with:
2828
auto-update-conda: true
2929
python-version: ${{ matrix.python-version }}
@@ -65,23 +65,3 @@ jobs:
6565
if: runner.os == 'Linux' && matrix.python-version == '3.8'
6666
shell: bash -l {0}
6767
run: cat codecov.yml | curl --data-binary @- https://codecov.io/validate
68-
69-
70-
pre-commit:
71-
72-
name: Run pre-commit.
73-
runs-on: ubuntu-latest
74-
75-
steps:
76-
- uses: actions/checkout@v2
77-
78-
- name: Set up Python 3.8
79-
uses: actions/setup-python@v1
80-
with:
81-
python-version: 3.8
82-
83-
- name: Install dependencies
84-
run: pip install tox
85-
86-
- name: Run pre-commit
87-
run: tox -e pre-commit

.pre-commit-config.yaml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v3.2.0
3+
rev: v3.4.0
44
hooks:
55
- id: check-added-large-files
66
args: ['--maxkb=100']
@@ -9,21 +9,33 @@ repos:
99
exclude: meta.yaml
1010
- id: debug-statements
1111
- id: end-of-file-fixer
12+
- repo: https://github.com/pre-commit/pygrep-hooks
13+
rev: v1.7.0 # Use the ref you want to point at
14+
hooks:
15+
- id: python-check-blanket-noqa
16+
- id: python-check-mock-methods
17+
- id: python-no-eval
18+
- id: python-no-log-warn
19+
- id: python-use-type-annotations
20+
- id: rst-backticks
21+
- id: rst-directive-colons
22+
- id: rst-inline-touching-normal
23+
- id: text-unicode-replacement-char
1224
- repo: https://github.com/asottile/pyupgrade
13-
rev: v2.7.2
25+
rev: v2.7.4
1426
hooks:
1527
- id: pyupgrade
1628
args: [--py36-plus]
1729
- repo: https://github.com/asottile/reorder_python_imports
18-
rev: v2.3.5
30+
rev: v2.3.6
1931
hooks:
2032
- id: reorder-python-imports
2133
- repo: https://github.com/psf/black
2234
rev: 20.8b1
2335
hooks:
2436
- id: black
2537
- repo: https://github.com/asottile/blacken-docs
26-
rev: v1.8.0
38+
rev: v1.9.1
2739
hooks:
2840
- id: blacken-docs
2941
additional_dependencies: [black]
@@ -52,12 +64,12 @@ repos:
5264
hooks:
5365
- id: doc8
5466
- repo: https://github.com/econchick/interrogate
55-
rev: 1.3.1
67+
rev: 1.3.2
5668
hooks:
5769
- id: interrogate
5870
args: [-v, --fail-under=40, src, tests]
5971
- repo: https://github.com/codespell-project/codespell
60-
rev: v1.17.1
72+
rev: v2.0.0
6173
hooks:
6274
- id: codespell
6375
args: [-L=als]

0 commit comments

Comments
 (0)