amey-sam/Flask-MailGun

View on GitHub
flask_mailgun/api.py

Summary

Maintainability
A
0 mins
Test Coverage

TODO found
Open

        # Create Route Only if it does not Exist # TODO should update?
Severity: Minor
Found in flask_mailgun/api.py by fixme

TODO found
Open

        # TODO RPM YXI, not actually shure this is what we want...
Severity: Minor
Found in flask_mailgun/api.py by fixme

Trailing whitespace
Open

            return id_table.get(make_key(route)) 
Severity: Minor
Found in flask_mailgun/api.py by pep8

Trailing whitespace is superfluous.

The warning returned varies on whether the line itself is blank,
for easier filtering for those who want to indent their blank lines.

Okay: spam(1)\n#
W291: spam(1) \n#
W293: class Foo(object):\n    \n    bang = 12

Line too long (114 > 79 characters)
Open

            raise MailGunException("Failed to get routes. Please check your configuration e.g. your mailgun key.")
Severity: Minor
Found in flask_mailgun/api.py by pep8

Limit all lines to a maximum of 79 characters.

There are still many devices around that are limited to 80 character
lines; plus, limiting windows to 80 characters makes it possible to
have several windows side-by-side.  The default wrapping on such
devices looks ugly.  Therefore, please limit all lines to a maximum
of 79 characters. For flowing long blocks of text (docstrings or
comments), limiting the length to 72 characters is recommended.

Reports error E501.

Line too long (109 > 79 characters)
Open

            raise MailGunException("Mailbox Error: credential verification failed.", "Not enough parameters")
Severity: Minor
Found in flask_mailgun/api.py by pep8

Limit all lines to a maximum of 79 characters.

There are still many devices around that are limited to 80 character
lines; plus, limiting windows to 80 characters makes it possible to
have several windows side-by-side.  The default wrapping on such
devices looks ugly.  Therefore, please limit all lines to a maximum
of 79 characters. For flowing long blocks of text (docstrings or
comments), limiting the length to 72 characters is recommended.

Reports error E501.

Line too long (86 > 79 characters)
Open

                raise MailGunException("Route deletion failed. Reason: " + ret.reason)
Severity: Minor
Found in flask_mailgun/api.py by pep8

Limit all lines to a maximum of 79 characters.

There are still many devices around that are limited to 80 character
lines; plus, limiting windows to 80 characters makes it possible to
have several windows side-by-side.  The default wrapping on such
devices looks ugly.  Therefore, please limit all lines to a maximum
of 79 characters. For flowing long blocks of text (docstrings or
comments), limiting the length to 72 characters is recommended.

Reports error E501.

Line too long (111 > 79 characters)
Open

            raise MailGunException("Mailbox Error: credential verification failed.", "Signature doesn't match")
Severity: Minor
Found in flask_mailgun/api.py by pep8

Limit all lines to a maximum of 79 characters.

There are still many devices around that are limited to 80 character
lines; plus, limiting windows to 80 characters makes it possible to
have several windows side-by-side.  The default wrapping on such
devices looks ugly.  Therefore, please limit all lines to a maximum
of 79 characters. For flowing long blocks of text (docstrings or
comments), limiting the length to 72 characters is recommended.

Reports error E501.

There are no issues that match your filters.

Category
Status