mirror of
https://github.com/simonw/datasette.git
synced 2026-11-24 19:09:38 +01:00
Switch to ruff and fix all lint errors, refs #2630
This commit is contained in:
parent
b0436faa5e
commit
66d2a033f8
21 changed files with 44 additions and 101 deletions
|
|
@ -117,7 +117,6 @@ async def test_tables_endpoint_database_restriction(test_ds):
|
|||
|
||||
# Bob should only see analytics tables
|
||||
analytics_tables = [m for m in result if m["name"].startswith("analytics/")]
|
||||
production_tables = [m for m in result if m["name"].startswith("production/")]
|
||||
|
||||
assert len(analytics_tables) == 3
|
||||
table_names = {m["name"] for m in analytics_tables}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue