Ditched setup.cfg and ran black

This commit is contained in:
Simon Willison 2025-11-23 12:49:59 -08:00
commit bfeb366f53
3 changed files with 6 additions and 5 deletions

View file

@ -71,5 +71,10 @@ flake8 = [
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.flake8]
max-line-length = 160
# Black compatibility, E203 whitespace before ':':
extend-ignore = ["E203"]
[tool.setuptools.package-data]
sqlite_utils = ["py.typed"]

View file

@ -1,4 +0,0 @@
[flake8]
max-line-length = 160
# Black compatibility, E203 whitespace before ':':
extend-ignore = E203

View file

@ -25,7 +25,7 @@ def test_extracts(fresh_db, kwargs, expected_table, use_table_factory):
{"id": 2, "species_id": "Oak"},
{"id": 3, "species_id": "Palm"},
],
**insert_kwargs
**insert_kwargs,
)
# Should now have two tables: Trees and Species
assert {expected_table, "Trees"} == set(fresh_db.table_names())