diff --git a/apprise/plugins/NotifyBase.py b/apprise/plugins/NotifyBase.py index 7e963b0c..9509f9ed 100644 --- a/apprise/plugins/NotifyBase.py +++ b/apprise/plugins/NotifyBase.py @@ -161,7 +161,7 @@ class NotifyBase(URLBase): # Store the specified format if specified notify_format = kwargs.get('format', '') if notify_format.lower() not in NOTIFY_FORMATS: - msg = 'Invalid notification format %s'.format(notify_format) + msg = 'Invalid notification format {}'.format(notify_format) self.logger.error(msg) raise TypeError(msg) diff --git a/setup.cfg b/setup.cfg index 6738cb7c..2a2015d7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -8,7 +8,7 @@ license_file = LICENSE [flake8] # We exclude packages we don't maintain exclude = .eggs,.tox,gntp -ignore = E722,W503,W504,W605 +ignore = E741,E722,W503,W504,W605 statistics = true builtins = _ diff --git a/test/test_office365.py b/test/test_office365.py index 5e35c39d..b8896ee8 100644 --- a/test/test_office365.py +++ b/test/test_office365.py @@ -70,7 +70,6 @@ def test_office365_general(mock_post): obj = Apprise.instantiate( 'o365://{tenant}:{email}/{tenant}/{secret}/{targets}'.format( tenant=tenant, - client_id=client_id, email=email, secret=secret, targets=targets)) diff --git a/test/test_rest_plugins.py b/test/test_rest_plugins.py index da515df6..b3bc9f87 100644 --- a/test/test_rest_plugins.py +++ b/test/test_rest_plugins.py @@ -3201,7 +3201,7 @@ TEST_URLS = ( # Expected notify() response 'notify_response': False, }), - ('spush://salt:pass@{}'.format('X' * 14, 'A' * 16), { + ('spush://salt:pass@{}'.format('X' * 14), { # Now we'll test encrypted messages with new salt 'instance': plugins.NotifySimplePush, # Set our response to OK