tell flake8 that type-annotation imports are okay
This commit is contained in:
parent
89f07603ca
commit
e3d7224e5d
|
@ -1,7 +1,7 @@
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from typing import List, Optional, Set
|
from typing import List, Optional, Set # noqa
|
||||||
|
|
||||||
from mitmproxy import controller, script, filt, models
|
from mitmproxy import controller, script, filt, models
|
||||||
from mitmproxy.exceptions import FlowReadException, Kill
|
from mitmproxy.exceptions import FlowReadException, Kill
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
from abc import abstractmethod, ABCMeta
|
from abc import abstractmethod, ABCMeta
|
||||||
|
|
||||||
import six
|
import six
|
||||||
from typing import List
|
from typing import List # noqa
|
||||||
|
|
||||||
from mitmproxy import models, filt
|
from mitmproxy import models, filt # noqa
|
||||||
|
|
||||||
|
|
||||||
@six.add_metaclass(ABCMeta)
|
@six.add_metaclass(ABCMeta)
|
||||||
|
|
Loading…
Reference in New Issue