datasette/ruff.toml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
253 B
TOML
Raw Permalink Normal View History

line-length = 160
target-version = "py310"
[lint.flake8-bugbear]
# from_extra() returns a dataclasses.field(), so it is safe as a dataclass
# default - ruff cannot see through the wrapper (RUF009)
extend-immutable-calls = ["datasette.views.from_extra"]