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

@@ -99,11 +99,11 @@ if conf.get('SILENCE_FAB'):
logging.getLogger('flask_appbuilder').setLevel(logging.ERROR)
if app.debug:
app.logger.setLevel(logging.DEBUG)
app.logger.setLevel(logging.DEBUG) # pylint: disable=no-member
else:
# In production mode, add log handler to sys.stderr.
app.logger.addHandler(logging.StreamHandler())
app.logger.setLevel(logging.INFO)
app.logger.addHandler(logging.StreamHandler()) # pylint: disable=no-member
app.logger.setLevel(logging.INFO) # pylint: disable=no-member
logging.getLogger('pyhive.presto').setLevel(logging.INFO)
db = SQLA(app)