def load_config(path):
try:
with open(path) as handle:
return json.load(handle)
except:
return {}Deterministic line match: flags any `except:` line with no exception class (optionally followed by a comment) in non-test Python files.