Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/allenporter/cookiecutter-python",
"commit": "6a5d6479f9502a4f9e34754b47496d9705cac590",
"commit": "71e4c726100fa18c949f32343442c0acb36362fe",
"checkout": null,
"context": {
"cookiecutter": {
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cruft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ permissions:
contents: write
pull-requests: write
actions: write
workflows: write
on:
schedule:
- cron: "0 0 * * *"
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:

steps:
- uses: actions/checkout@v5
- uses: astral-sh/[email protected]
- uses: codespell-project/[email protected]
with:
check_hidden: false
Expand All @@ -39,6 +38,14 @@ jobs:
run: |
uv pip install -r requirements_dev.txt

- name: Run Ruff Check
run: |
ruff check --output-format=github .

- name: Run Ruff Format
run: |
ruff format .

- name: Static typing with mypy
run: |
mypy --install-types --non-interactive --no-warn-unused-ignores .
15 changes: 9 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,20 @@ repos:
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/psf/black
rev: 25.11.0
hooks:
- id: black
- repo: https://github.com/charliermarsh/ruff-pre-commit
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.4
hooks:
- id: ruff
- id: ruff-check
types_or:
- python
- pyi
args:
- --fix
- --exit-non-zero-on-fix
- id: ruff-format
types_or:
- python
- pyi
- repo: local
hooks:
- id: mypy
Expand Down
1 change: 0 additions & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
-e .
black==25.11.0
coverage==7.11.3
mypy==1.18.2
pdoc==16.0.0
Expand Down