Skip to content

Commit

Permalink
DX: reduce pre-commit.ci update frequency (#20)
Browse files Browse the repository at this point in the history
* MAINT: bundle repos with multiple hooks at config top

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Remco de Boer <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and redeboer authored Oct 17, 2023
1 parent ff9492c commit 88a0254
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
ci:
autoupdate_commit_msg: "MAINT: update pre-commit config file"
autoupdate_schedule: quarterly

repos:
- repo: meta
hooks:
Expand All @@ -14,13 +18,6 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 23.9.1
hooks:
- id: black-jupyter
args: [--line-length=85]
types_or: [jupyter]

- repo: https://github.com/ComPWA/repo-maintenance
rev: 0.1.0
hooks:
Expand All @@ -44,6 +41,13 @@ repos:
- id: nbqa-pyupgrade
args: [--py37-plus]

- repo: https://github.com/psf/black
rev: 23.9.1
hooks:
- id: black-jupyter
args: [--line-length=85]
types_or: [jupyter]

- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: 2.7.2
hooks:
Expand Down

0 comments on commit 88a0254

Please sign in to comment.