Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cicd: update precommit
Browse files Browse the repository at this point in the history
jsstevenson committed Jan 14, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 82b75d3 commit aa1f315
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
@@ -68,7 +68,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
hook:
cmd:
- "end-of-file-fixer"
- "trailing-whitespace"
- "mixed-line-ending"
@@ -82,7 +82,7 @@ jobs:

- uses: pre-commit/[email protected]
with:
extra_args: ${{ matrix.hook }} --all-files
extra_args: ${{ matrix.cmd }} --all-files

docs:
runs-on: ubuntu-latest
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0 # pre-commit-hooks version
rev: v5.0.0 # pre-commit-hooks version
hooks:
- id: check-added-large-files
args: ['--maxkb=1500']
@@ -17,4 +17,4 @@ repos:
hooks:
- id: ruff
- id: ruff-format
minimum_pre_commit_version: 3.7.1
minimum_pre_commit_version: 4.0.1
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -42,7 +42,10 @@ etl = [
"setuptools", # pinned for 3.12 because yoyo-migrations still uses pkg_resources
]
tests = ["pytest>=6.0", "pytest-cov", "mock", "httpx", "deepdiff"]
dev = ["pre-commit>=3.7.1", "ruff==0.5.0"]
dev = [
"pre-commit>=4.0.1",
"ruff==0.5.0",
]
docs = [
"sphinx==6.1.3",
"sphinx-autodoc-typehints==1.22.0",

0 comments on commit aa1f315

Please sign in to comment.