use flake8 to lint for a few things black doesn't catch

black does *not* warn about missing or extraneous imports,
so let's bring back flake8 in our linting to check for them
This commit is contained in:
Ryan Petrello
2021-04-12 12:47:42 -04:00
parent 311c44341e
commit 300f5a3a1f
24 changed files with 13 additions and 46 deletions

View File

@@ -375,7 +375,7 @@ def events_table(since, full_path, until, **kwargs):
try:
return _copy_table(table='events', query=query("main_jobevent.event_data::json"), path=full_path)
except UntranslatableCharacter as exc:
except UntranslatableCharacter:
return _copy_table(table='events', query=query("replace(main_jobevent.event_data::text, '\\u0000', '')::json"), path=full_path)