mirror of
https://github.com/simonw/datasette.git
synced 2026-10-08 02:17:01 +02:00
Apply black and blacken-docs formatting
https://claude.ai/code/session_01SvPEPqHgURTWESRp28pTC3
This commit is contained in:
parent
77bbfb5f7e
commit
9fe10cd1aa
5 changed files with 61 additions and 30 deletions
|
|
@ -1013,8 +1013,14 @@ Return a list of :ref:`ColumnType <column_types>` instances to register custom c
|
|||
|
||||
class ColorColumnType(ColumnType):
|
||||
async def render_cell(
|
||||
self, value, column, table, database,
|
||||
datasette, request, config
|
||||
self,
|
||||
value,
|
||||
column,
|
||||
table,
|
||||
database,
|
||||
datasette,
|
||||
request,
|
||||
config,
|
||||
):
|
||||
if value:
|
||||
return markupsafe.Markup(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue