From 04f4e64de3e0b0a29f25df2bf968d464e819f2f5 Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Thu, 16 May 2024 16:29:54 +0200 Subject: [PATCH] Set Python 3.11 for the `flake8-commas` linter It doesn't yet support 3.12 and is an unconditional dependency of WPS. --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6c264cd..8f8974f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -128,6 +128,7 @@ repos: - WPS additional_dependencies: - wemake-python-styleguide ~= 0.17.0 + language_version: python3.11 # flake8-commas doesn't work w/ Python 3.12 - repo: https://github.com/PyCQA/pylint.git rev: v3.0.3