Skip to content

Commit

Permalink
Can't turn off auto-updates for Black version in pre-commit-ci, so ch…
Browse files Browse the repository at this point in the history
…ange it to quarterly, so the versions aren't updated so often. (#2975)

Also bump to latest ruff version.
  • Loading branch information
ashleysommer authored Nov 11, 2024
1 parent 14bb8ec commit ade9a1c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
ci:
# https://pre-commit.ci/#configuration
autoupdate_schedule: weekly
autoupdate_schedule: quarterly
autofix_prs: false

# https://pre-commit.com/#adding-pre-commit-plugins-to-your-project
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# WARNING: Ruff version should be the same as in `pyproject.toml`
rev: v0.7.1
rev: v0.7.2
hooks:
- id: ruff
args: ["--fix"]
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ sphinx-autodoc-typehints = ">=2.3.0,<2.4.0"
typing-extensions = "^4.11.0"

[tool.poetry.group.lint.dependencies]
ruff = ">=0.7.1,<0.8.0"
ruff = ">=0.7.2,<1"

[tool.poetry.extras]
berkeleydb = ["berkeleydb"]
Expand Down

0 comments on commit ade9a1c

Please sign in to comment.