Skip to content

Commit 59cad54

Browse files
authored
cruft update (#717)
1 parent 87d79a1 commit 59cad54

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

.cruft.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/iterative/py-template",
3-
"commit": "c4e24f909659b6ce9c34a1da631290f0c70ff2f2",
3+
"commit": "efb0a22625c1d83e687f2bd284f3e96a20d16711",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Check out the repository
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0
2323

.github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
- name: Check out the repository
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424
with:
2525
fetch-depth: 0
2626

@@ -58,7 +58,7 @@ jobs:
5858
run: pytest -v tests --cov --cov-report=xml --cov-config=pyproject.toml
5959

6060
- name: Upload coverage report
61-
uses: codecov/[email protected].1
61+
uses: codecov/[email protected].4
6262

6363
test_core:
6464
timeout-minutes: 30

.github/workflows/update-template.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Check out the repository
13-
uses: actions/checkout@v3
13+
uses: actions/checkout@v4
1414

1515
- name: Update template
1616
uses: iterative/py-template@main

.pre-commit-config.yaml

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
default_language_version:
22
python: python3
33
repos:
4+
- repo: https://github.com/psf/black
5+
rev: 23.9.1
6+
hooks:
7+
- id: black
48
- repo: https://github.com/pre-commit/pre-commit-hooks
59
rev: v4.4.0
610
hooks:
@@ -10,30 +14,26 @@ repos:
1014
- id: check-executables-have-shebangs
1115
- id: check-json
1216
- id: check-merge-conflict
13-
args: ['--assume-in-merge']
17+
args: ["--assume-in-merge"]
1418
- id: check-toml
1519
- id: check-yaml
1620
- id: debug-statements
1721
- id: end-of-file-fixer
1822
- id: mixed-line-ending
19-
args: ['--fix=lf']
23+
args: ["--fix=lf"]
2024
- id: sort-simple-yaml
2125
- id: trailing-whitespace
22-
- repo: https://github.com/psf/black
23-
rev: 23.9.1
24-
hooks:
25-
- id: black
26-
- repo: https://github.com/PyCQA/isort
27-
rev: 5.12.0
28-
hooks:
29-
- id: isort
3026
- repo: https://github.com/codespell-project/codespell
3127
rev: v2.2.5
3228
hooks:
3329
- id: codespell
3430
additional_dependencies: ["tomli"]
31+
- repo: https://github.com/PyCQA/isort
32+
rev: 5.12.0
33+
hooks:
34+
- id: isort
3535
- repo: https://github.com/astral-sh/ruff-pre-commit
3636
# Ruff version.
37-
rev: 'v0.0.291'
37+
rev: "v0.0.291"
3838
hooks:
3939
- id: ruff

0 commit comments

Comments
 (0)