Simon Willison
38fe466700
Use db.table() and db.view() in tests, closes #838
2026-08-12 14:03:04 -07:00
Simon Willison
69a1c0d960
Fixes for Ruff>=0.16.0 ( #814 )
...
* Automated upgrades by Ruff
uvx --with 'ruff>=0.16.0' ruff check . --fix --unsafe-fixes
* Fix remaining Ruff errors with GPT-5.6 Sol high
https://gist.github.com/simonw/6da7906a9fea6e90da131c21a9055199
* Fix flake E501 long lines
* New Protocol for migrations to make ty happy
2026-07-25 14:53:12 -07:00
Simon Willison
8f0c06e188
Test against Python 3.15-dev, bump ty and Black ( #738 )
...
* Add Python 3.15-dev to test matrix
* Run ty check only on 3.14
* Bump Black version
* Update tabulate and use that in
* Bump to latest ty
2026-05-17 16:52:48 -07:00
Simon Willison
fb93452ea8
Use double quotes not braces for tables and columns ( #678 )
...
Closes #677
2025-11-23 20:43:26 -08:00
Simon Willison
c710ade644
sqlite-utils duplicate command, closes #454 , refs #449
...
Also made it so .duplicate() raises new NoTable exception rather than raising
an AssertionError if the source table does not exist.
2022-07-15 14:45:47 -07:00
Simon Willison
4af4762521
test_duplicate_fails_if_table_does_not_exist, refs #449
2022-07-15 14:23:57 -07:00
David
b366e68deb
table.duplicate(new_table_name) feature, closes #449
...
Thanks, @davidleejy
2022-07-15 14:21:36 -07:00