mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-21 19:25:35 -05:00
add config file for pre-commit (#235)
* add config file * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add isort * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
from flask import Flask
|
||||
|
||||
from freedom import app as freedom
|
||||
from toga_flask import TogaApp
|
||||
|
||||
from freedom import app as freedom
|
||||
app = Flask(__name__, static_folder="../static")
|
||||
|
||||
app = Flask(__name__, static_folder='../static')
|
||||
|
||||
app.add_url_rule('/', view_func=TogaApp.as_view("foo", app_module=freedom))
|
||||
app.add_url_rule("/", view_func=TogaApp.as_view("foo", app_module=freedom))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
if __name__ == "__main__":
|
||||
app.run(port=8081, debug=True)
|
||||
|
||||
Reference in New Issue
Block a user