Skip to content

Commit

Permalink
pycodestyle nolint here too
Browse files Browse the repository at this point in the history
  • Loading branch information
timmc-edx committed Oct 23, 2023
1 parent 139f29c commit baee3f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edx_arch_experiments/config_watcher/signals/receivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@ def _register_waffle_observation(*, model, short_name, fields):
def report_waffle_change(*args, instance, created, **kwargs):
try:
_report_waffle_change(short_name, instance, created, fields)
except: # pylint: disable=bare-except
except: # noqa pylint: disable=bare-except
# Log and suppress error so Waffle change can proceed
log.exception(f"Failed to report change to waffle {short_name}")

@receiver(signals.post_delete, sender=model)
def report_waffle_delete(*args, instance, **kwargs):
try:
_report_waffle_delete(short_name, instance)
except: # pylint: disable=bare-except
except: # noqa pylint: disable=bare-except
log.exception(f"Failed to report deletion of waffle {short_name}")


Expand Down

0 comments on commit baee3f3

Please sign in to comment.