Alex Garcia
70af800eaa
Apply ruff 0.16 and black fixes
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012U7coQfVu8nK2R4q2mCULA
2026-09-01 09:39:29 -07:00
Alex Garcia
5c82f53d25
Add a shutdown() plugin hook with ordered graceful teardown
...
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-01 09:39:29 -07:00
Alex Garcia
e78b8a2e6a
Run datasette serve startup and uvicorn on a single event loop ( #2886 )
...
* Run datasette serve startup and uvicorn on a single event loop
* Move the serve-subprocess test plumbing into a conftest fixture
* Fix datasette-litestream URL and trim marker-task test comments
* Explain why serve_with_plugins needs a subprocess and plugin files
* Apply ruff 0.16 and black fixes
* Tweaked some comments
2026-09-01 09:32:37 -07:00
Simon Willison
e889403d3b
Upgrade to ruff>=0.16.0 ( #2857 )
...
* ruff>=0.16.0
See https://astral.sh/blog/ruff-v0.16.0
* uv run ruff check . --fix --unsafe-fixes
* Ruff fixes by Claude Code Opus 5
2026-07-25 15:47:08 -07:00
Simon Willison
d1d369456a
Move HTTPS test to a bash script
...
See https://github.com/simonw/datasette/issues/1955#issuecomment-1356627931
2022-12-17 18:33:07 -08:00
Simon Willison
de2a106328
Ran Black, refs #1388
2021-07-10 16:46:49 -07:00
Simon Willison
180c7a5328
--uds option for binding to Unix domain socket, closes #1388
2021-07-10 16:37:30 -07:00
Simon Willison
0a7621f96f
Use pytest-xdist to speed up tests ( #1290 )
...
* Run tests in CI using pytest-xdist
* Documentation for pytest-xdist
Closes #1289
2021-04-02 20:42:28 -07:00
Simon Willison
9603d893b9
Tests for --ssl-keyfile and --ssl-certfile, refs #1221
2021-02-11 16:53:20 -08:00