mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Ran blacken-docs
This commit is contained in:
parent
bca2d95d02
commit
8cfc723368
1 changed files with 1 additions and 1 deletions
|
|
@ -244,7 +244,7 @@ When writing tests for plugins you may find it useful to register a test plugin
|
||||||
@hookimpl
|
@hookimpl
|
||||||
def register_routes(self):
|
def register_routes(self):
|
||||||
return [
|
return [
|
||||||
(r"^/error$", lambda: 1/0),
|
(r"^/error$", lambda: 1 / 0),
|
||||||
]
|
]
|
||||||
|
|
||||||
pm.register(TestPlugin(), name="undo")
|
pm.register(TestPlugin(), name="undo")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue