Skip to content

Commit

Permalink
Fix lint errors for python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
eterna2 committed Dec 12, 2019
1 parent c1eafc3 commit d3bf7e7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
4 changes: 1 addition & 3 deletions e2fyi/utils/aws/s3_resource_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@

import boto3

# import pandas as pd

from pydantic import BaseModel
from pydantic import BaseModel # pylint: disable=no-name-in-module

from e2fyi.utils.aws.s3_stream import S3Stream
from e2fyi.utils.aws.s3_resource import S3Resource
Expand Down
4 changes: 2 additions & 2 deletions e2fyi/utils/aws/s3_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import joblib
import pandas as pd

from pydantic import BaseModel
from pydantic import BaseModel # pylint: disable=no-name-in-module

from e2fyi.utils.aws.compat import LIB_MAGIC_AVAILABLE

Expand All @@ -35,7 +35,7 @@ def _infer_mime(filepath: str) -> str:
"""
)
return "application/octet-stream"
import magic
import magic # pylint: disable=import-outside-toplevel

return magic.from_file(filepath, mime=True) # type: ignore

Expand Down
2 changes: 1 addition & 1 deletion e2fyi/utils/aws/s3_stream_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import joblib
import pandas as pd

from pydantic import BaseModel
from pydantic import BaseModel # pylint: disable=no-name-in-module

from e2fyi.utils.aws.s3_stream import S3Stream

Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.0
0.2.0.post1

0 comments on commit d3bf7e7

Please sign in to comment.