Run linter on examples
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from microdot import Microdot, Response
|
||||
from microdot import Microdot
|
||||
|
||||
app = Microdot()
|
||||
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
try:
|
||||
import uasyncio as asyncio
|
||||
except ImportError:
|
||||
import asyncio
|
||||
from microdot_asgi import Microdot, Response
|
||||
from microdot_asgi import Microdot
|
||||
|
||||
app = Microdot()
|
||||
|
||||
@@ -34,4 +30,7 @@ async def shutdown(request):
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=True)
|
||||
print('''Use an ASGI web server to run this applicaton.
|
||||
Example:
|
||||
uvicorn hello_asgi:app
|
||||
''')
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
try:
|
||||
import uasyncio as asyncio
|
||||
except ImportError:
|
||||
import asyncio
|
||||
from microdot_asyncio import Microdot, Response
|
||||
from microdot_asyncio import Microdot
|
||||
|
||||
app = Microdot()
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
from microdot_wsgi import Microdot, Response
|
||||
from microdot_wsgi import Microdot
|
||||
|
||||
app = Microdot()
|
||||
|
||||
@@ -30,4 +30,7 @@ def shutdown(request):
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=True)
|
||||
print('''Use a WSGI web server to run this applicaton.
|
||||
Example:
|
||||
gunicorn hello_wsgi:app
|
||||
''')
|
||||
|
||||
Reference in New Issue
Block a user