]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
update lint setup
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 17 Nov 2025 21:32:54 +0000 (16:32 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 17 Nov 2025 23:14:48 +0000 (18:14 -0500)
commit7ef28195be4f1830fdf07f0793e06bfbeca361eb
treed96932616dd1448ce768b8e30bd5a3c0838b9767
parent06a4f84c3e2cd2aebf794f7a4805fadd13c06991
update lint setup

We are stuck on flake8 because we rely on many plugins with
specific behaviors.  The situation has calcified where:

1. the whole world uses ruff
2. nobody cares about import order linting or all the other stuff
   we do, and/or similar but not quite the same things are embedded
   deeply into ruff which would require us giving up a lot of our
   standards (like isort)
3. flake8 is absolutely never going to support pyproject.
4. flake8-pyproject works for this

beyond that, for t string support we want to make it easy
to get onto py3.14, so here we update black to the latest which
appears to fix some missing symbols for py3.14 t strings.

we should also migrate the remaining sqlalchemy test config
from setup.cfg to pyproject.toml but that should likely be
2.1 only

Change-Id: I896a7c839148d0ef516728c73baddc8eddf5ee96
(cherry picked from commit f6714c8e090b9dd84ac4256ed74eefc1fe9cbddc)
.pre-commit-config.yaml
noxfile.py
pyproject.toml
setup.cfg
tox.ini