Switch to ruff and fix all lint errors, refs #2630

This commit is contained in:
Simon Willison 2026-01-23 20:43:16 -08:00
commit 66d2a033f8
21 changed files with 44 additions and 101 deletions

View file

@ -66,6 +66,7 @@ dev = [
"pytest-timeout>=1.4.2",
"trustme>=0.7",
"cogapp>=3.3.0",
"ruff>=0.9",
# docs
"Sphinx==7.4.7",
"furo==2025.9.25",
@ -94,5 +95,9 @@ datasette = ["templates/*.html"]
[tool.setuptools.dynamic]
version = {attr = "datasette.version.__version__"}
[tool.ruff]
line-length = 160
select = ["E", "F", "W"]
[tool.uv]
package = true