Skip to content

Commit 50c362a

Browse files
authored
Apply cruft updates (#1211)
* Apply cruft updates * Fix rejected merges
1 parent a336f58 commit 50c362a

File tree

5 files changed

+19
-9
lines changed

5 files changed

+19
-9
lines changed

.cruft.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"template": "https://github.com/allenporter/cookiecutter-python",
3-
"commit": "6a5d6479f9502a4f9e34754b47496d9705cac590",
3+
"commit": "71e4c726100fa18c949f32343442c0acb36362fe",
44
"checkout": null,
55
"context": {
66
"cookiecutter": {

.github/workflows/cruft.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ permissions:
44
contents: write
55
pull-requests: write
66
actions: write
7+
workflows: write
78
on:
89
schedule:
910
- cron: "0 0 * * *"

.github/workflows/lint.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818

1919
steps:
2020
- uses: actions/checkout@v5
21-
- uses: astral-sh/[email protected]
2221
- uses: codespell-project/[email protected]
2322
with:
2423
check_hidden: false
@@ -39,6 +38,14 @@ jobs:
3938
run: |
4039
uv pip install -r requirements_dev.txt
4140
41+
- name: Run Ruff Check
42+
run: |
43+
ruff check --output-format=github .
44+
45+
- name: Run Ruff Format
46+
run: |
47+
ruff format .
48+
4249
- name: Static typing with mypy
4350
run: |
4451
mypy --install-types --non-interactive --no-warn-unused-ignores .

.pre-commit-config.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,20 @@ repos:
77
- id: end-of-file-fixer
88
- id: check-yaml
99
- id: check-added-large-files
10-
- repo: https://github.com/psf/black
11-
rev: 25.11.0
12-
hooks:
13-
- id: black
14-
- repo: https://github.com/charliermarsh/ruff-pre-commit
10+
- repo: https://github.com/astral-sh/ruff-pre-commit
1511
rev: v0.14.4
1612
hooks:
17-
- id: ruff
13+
- id: ruff-check
14+
types_or:
15+
- python
16+
- pyi
1817
args:
1918
- --fix
2019
- --exit-non-zero-on-fix
20+
- id: ruff-format
21+
types_or:
22+
- python
23+
- pyi
2124
- repo: local
2225
hooks:
2326
- id: mypy

requirements_dev.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
-e .
2-
black==25.11.0
32
coverage==7.11.3
43
mypy==1.18.2
54
pdoc==16.0.0

0 commit comments

Comments
 (0)