mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
Add flake8 style check
This commit is contained in:
parent
ce6ce6b5dd
commit
234ed00909
10 changed files with 28 additions and 15 deletions
|
|
@ -1,3 +1,5 @@
|
|||
# all imports below are only used by external modules
|
||||
# flake8: noqa
|
||||
from django_mailbox.transports.imap import ImapTransport
|
||||
from django_mailbox.transports.pop3 import Pop3Transport
|
||||
from django_mailbox.transports.maildir import MaildirTransport
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ import six
|
|||
|
||||
# Do *not* remove this, we need to use this in subclasses of EmailTransport
|
||||
if six.PY3:
|
||||
from email.errors import MessageParseError
|
||||
from email.errors import MessageParseError # noqa: F401
|
||||
else:
|
||||
from email.Errors import MessageParseError
|
||||
from email.Errors import MessageParseError # noqa: F401
|
||||
|
||||
|
||||
class EmailTransport(object):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue