Fixing flake8 E401, E402 errors

This commit is contained in:
Lukasz Langa committed 2016-12-20 00:47:51 -08:00
1 parent 147772950f
commit 6eb97964fd
25 files changed
+79 -81

No files matched your search

+2 -2
View File
@@ -1,11 +1,11 @@
# Stubs for email.parser (Python 3.4)
from typing import Callable, Optional, TextIO, BinaryIO
import email.feedparser
from email.message import Message
import sys
from typing import Callable, Optional, TextIO, BinaryIO
if sys.version_info >= (3, 3):
from email.policy import Policy
import sys
FeedParser = email.feedparser.FeedParser
BytesFeedParser = email.feedparser.BytesFeedParser
+1 -1
View File
@@ -1,5 +1,6 @@
# Stubs for email.policy (Python 3.4)
from abc import abstractmethod
from typing import Any, Optional, Tuple, Union, Callable
import sys
from email.message import Message
@@ -7,7 +8,6 @@ from email.errors import MessageDefect
from email.header import Header
if sys.version_info >= (3, 4):
from email.contentmanager import ContentManager
from abc import abstractmethod
if sys.version_info >= (3, 3):