mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-17 18:26:32 +00:00
Add flake8-logging linting (#5620)
* added flake8-logging to make logging more robust * fixed LOG005 warnings * fixed LOG008 warnings * fixed LOG011 warnings * fixed more LOG011 errors * added ignores for intentional logger.error calls * fixed even more LOG011 errors
This commit is contained in:
@@ -25,4 +25,4 @@ class EventPluginSample(EventMixin, InvenTreePlugin):
|
||||
|
||||
# Issue warning that we can test for
|
||||
if settings.PLUGIN_TESTING:
|
||||
logger.debug(f'Event `{event}` triggered in sample plugin')
|
||||
logger.debug('Event `%s` triggered in sample plugin', event)
|
||||
|
Reference in New Issue
Block a user