[ci] Deprecate flake8 (#8409)

* [ci] Deprecate flake8

* Addressing @villebro's comments
This commit is contained in:
John Bodley
2019-10-18 14:44:27 -07:00
committed by Maxime Beauchemin
parent a19990185d
commit 9fc37ea9f1
234 changed files with 702 additions and 647 deletions

View File

@@ -33,7 +33,7 @@ config = app.config
class CsvToDatabaseForm(DynamicForm):
# pylint: disable=E0211
def csv_allowed_dbs():
def csv_allowed_dbs(): # type: ignore
csv_allowed_dbs = []
csv_enabled_dbs = (
db.session.query(models.Database).filter_by(allow_csv_upload=True).all()