Bump Flask, bleach and sync pip-compile (#6239)

* sync pip-compile

* Support Flask >= 1.0.0

* pylint

* Trying something else to fix pylint
This commit is contained in:
Maxime Beauchemin
2018-10-31 16:58:50 -07:00
committed by GitHub
parent 7b3095d6ff
commit e46ab4db52
10 changed files with 31 additions and 25 deletions

View File

@@ -38,12 +38,17 @@ def init():
def debug_run(app, port, use_reloader):
return app.run(
host='0.0.0.0',
port=int(port),
threaded=True,
debug=True,
use_reloader=use_reloader)
click.secho(
'[DEPRECATED] As of Flask >=1.0.0, this command is no longer '
'supported, please use `flask run` instead, as documented in our '
'CONTRIBUTING.md',
fg='red',
)
click.secho('[example]', fg='yellow')
click.secho(
'flask run -p 8080 --with-threads --reload --debugger',
fg='green',
)
def console_log_run(app, port, use_reloader):