mirror of
https://github.com/ansible/awx.git
synced 2026-05-21 15:57:52 -02:30
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:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user