From fa9b7f13efb11d22962a883907bc5d9c74338958 Mon Sep 17 00:00:00 2001 From: Ashley Sommer Date: Thu, 7 Nov 2024 10:08:45 +1000 Subject: [PATCH] Can't turn off auto-updates for Black version in pre-commit-ci, so change it to quarterly, so the versions aren't updated so often. Also bump to latest ruff version. --- .pre-commit-config.yaml | 4 ++-- poetry.lock | 2 +- pyproject.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 58cdd2e50..bca569561 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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"] diff --git a/poetry.lock b/poetry.lock index 75aa28044..4c8c3aa18 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1495,4 +1495,4 @@ orjson = ["orjson"] [metadata] lock-version = "2.0" python-versions = ">=3.9,<4" -content-hash = "a4e5382d42c7ab09d4191493411f893461b534d92a05344cde1077fe29b5f4b3" +content-hash = "bbe86c8ee32a768ab2bbcdbccf0bed6ace146a23ede0dedbe5887d1d4d1a661b" diff --git a/pyproject.toml b/pyproject.toml index e99fad09e..ba06a94b8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"]