From ea3e25a85b073ff9b67361b9b95ffc72c1319a92 Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Wed, 25 Nov 2026 13:21:44 +0100 Subject: [PATCH] Upgrade pre-commit --- poetry.lock | 22 +++++++++++----------- pyproject.toml | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/poetry.lock b/poetry.lock index d2f13d0..bfd16d8 100644 --- a/poetry.lock +++ b/poetry.lock @@ -63,7 +63,7 @@ files = [ {file = "appnope-1.0.0-py3-none-any.whl", hash = "sha256:6fe0c04218aab65c54c4ff81638cdbf848d89f5653b74d68638a137f200dd16e"}, {file = "appnope-1.0.0.tar.gz", hash = "sha256:685db59cb6043c3c2e528adc0b3bce3a5f8d09bcf7492c6ea650d1b7421f3c49"}, ] -markers = {main = "extra == \"research\" and platform_system == \"Darwin\"", dev = "platform_system == \"Darwin\""} +markers = {main = "platform_system == \"Darwin\" and extra == \"research\"", dev = "platform_system == \"Darwin\""} [[package]] name = "argcomplete" @@ -770,7 +770,7 @@ files = [ {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, ] -markers = {main = "sys_platform == \"win32\" and extra == \"research\"", dev = "platform_system == \"Windows\" or sys_platform == \"win32\""} +markers = {main = "extra == \"research\" and sys_platform == \"win32\"", dev = "platform_system == \"Windows\" or sys_platform == \"win32\""} [[package]] name = "colorlog" @@ -3356,7 +3356,7 @@ files = [ {file = "pexpect-4.9.0-py2.py3-none-any.whl", hash = "sha256:7236d1e080e4936be2dc3e326cec0af72acf9212a7e1d060210e70a47e253523"}, {file = "pexpect-4.9.0.tar.gz", hash = "sha256:ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398ead30f"}, ] -markers = {main = "sys_platform != \"win32\" and sys_platform != \"emscripten\" and extra == \"research\"", dev = "sys_platform != \"win32\" and sys_platform != \"emscripten\""} +markers = {main = "extra == \"research\" and sys_platform != \"win32\" and sys_platform != \"emscripten\"", dev = "sys_platform != \"win32\" and sys_platform != \"emscripten\""} [package.dependencies] ptyprocess = ">=0.5" @@ -3489,14 +3489,14 @@ files = [ [[package]] name = "pre-commit" -version = "3.5.0" +version = "4.7.0" description = "A framework for managing and maintaining multi-language pre-commit hooks." optional = false -python-versions = ">=3.8" +python-versions = ">=3.11" groups = ["dev"] files = [ - {file = "pre_commit-3.5.0-py2.py3-none-any.whl", hash = "sha256:841dc9aef25daba9a0238cd27984041fa0467b4199fc4852e27950664919f660"}, - {file = "pre_commit-3.5.0.tar.gz", hash = "sha256:5804465c675b659b0862f07907f96295d490822a450c4c40e747d0b1c6ebcb32"}, + {file = "pre_commit-4.7.0-py2.py3-none-any.whl", hash = "sha256:2e229038ad3656081b70c27913157e4b636ef306f643f024a8a8e3f0f7b2f877"}, + {file = "pre_commit-4.7.0.tar.gz", hash = "sha256:1f3deee12b914c8fa184bd2b5953391c2e4f36763e403d4a23dc9983fa7c6e86"}, ] [package.dependencies] @@ -3570,7 +3570,7 @@ files = [ {file = "psutil-7.2.2-cp37-abi3-win_arm64.whl", hash = "sha256:8c233660f575a5a89e6d4cb65d9f938126312bca76d8fe087b947b3a1aaac9ee"}, {file = "psutil-7.2.2.tar.gz", hash = "sha256:0746f5f8d406af344fd547f1c8daa5f5c33dbc293bb8d6a16d80b4bb88f59372"}, ] -markers = {main = "extra == \"research\" and sys_platform != \"emscripten\" and sys_platform != \"cygwin\" and sys_platform != \"android\"", dev = "sys_platform != \"emscripten\" and sys_platform != \"cygwin\" and sys_platform != \"android\""} +markers = {main = "sys_platform != \"emscripten\" and sys_platform != \"cygwin\" and sys_platform != \"android\" and extra == \"research\"", dev = "sys_platform != \"emscripten\" and sys_platform != \"cygwin\" and sys_platform != \"android\""} [package.extras] dev = ["abi3audit", "black", "check-manifest", "colorama ; os_name == \"nt\"", "coverage", "packaging", "psleak", "pylint", "pyperf", "pypinfo", "pyreadline3 ; os_name == \"nt\"", "pytest", "pytest-cov", "pytest-instafail", "pytest-xdist", "pywin32 ; os_name == \"nt\" and implementation_name != \"pypy\"", "requests", "rstcheck", "ruff", "setuptools", "sphinx", "sphinx_rtd_theme", "toml-sort", "twine", "validate-pyproject[all]", "virtualenv", "vulture", "wheel", "wheel ; os_name == \"nt\" and implementation_name != \"pypy\"", "wmi ; os_name == \"nt\" and implementation_name != \"pypy\""] @@ -3604,7 +3604,7 @@ files = [ {file = "ptyprocess-0.7.0-py2.py3-none-any.whl", hash = "sha256:4b41f3967fce3af57cc7e94b888626c18bf37a083e3651ca8feeb66d492fef35"}, {file = "ptyprocess-0.7.0.tar.gz", hash = "sha256:5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220"}, ] -markers = {main = "extra == \"research\" and (os_name != \"nt\" or sys_platform != \"win32\" and sys_platform != \"emscripten\")", dev = "sys_platform != \"win32\" and sys_platform != \"emscripten\""} +markers = {main = "(os_name != \"nt\" or sys_platform != \"win32\" and sys_platform != \"emscripten\") and extra == \"research\"", dev = "sys_platform != \"win32\" and sys_platform != \"emscripten\""} [[package]] name = "pure-eval" @@ -3885,7 +3885,7 @@ description = "Pseudo terminal support for Windows from Python." optional = true python-versions = ">=3.10" groups = ["main"] -markers = "extra == \"research\" and os_name == \"nt\"" +markers = "os_name == \"nt\" and extra == \"research\"" files = [ {file = "pywinpty-3.1.2-cp310-cp310-win_amd64.whl", hash = "sha256:197cb43a5a1c6ed5836907fdcb3f008883386bcdaa05ae0cfdf4848b3624e237"}, {file = "pywinpty-3.1.2-cp310-cp310-win_arm64.whl", hash = "sha256:6b351d5853e0899179f1e82a53c5ebd0d6ea8dca023f1b7f7082f2837002018a"}, @@ -5324,4 +5324,4 @@ research = ["jupyterlab", "numpy", "pytz"] [metadata] lock-version = "2.1" python-versions = ">=3.13,<4.0" -content-hash = "2188c6eb65b85d6fa49d291ba5c2ab0c87654d5fdf83c26d20cff5cae340e610" +content-hash = "4f653793d51b85c483f632857742bbf1d1d350efd8b2ddd47e995ae44a8f652f" diff --git a/pyproject.toml b/pyproject.toml index 3e0f86f..3b54695 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,7 +82,7 @@ skip-string-normalization = true # `wemake-python-styleguide` enforces single q # Task Runners nox = ">=2020.5.24" -pre-commit = ">=2.6.0,<3.6" +pre-commit = ">=2.6.0" # Code Formatters autoflake = ">=1.3.1"