Skip to content

Commit 6adb29b

Browse files
authored
change: enable ungrouped-imports Pylint check (#936)
* change: enable wrong-import-order Pylint check Per PEP8: Imports should be grouped in the following order: 1- Standard library imports. 2- Related third party imports. 3- Local application/library specific imports.
1 parent b6b3cf6 commit 6adb29b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.pylintrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ disable=
9191
no-self-use, # TODO: Convert methods to functions where appropriate
9292
consider-using-in, # TODO: Consider merging comparisons with "in"
9393
too-many-public-methods, # TODO: Resolve
94-
ungrouped-imports, # TODO: Group imports
9594
consider-using-ternary, # TODO: Consider ternary expressions
9695
chained-comparison, # TODO: Simplify chained comparison between operands
9796
too-many-branches, # TODO: Simplify or ignore as appropriate

src/sagemaker/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
import six
2424
import boto3
2525
import botocore.config
26-
import yaml
2726
from botocore.exceptions import ClientError
27+
import yaml
2828

2929
import sagemaker.logs
3030
from sagemaker import vpc_utils

0 commit comments

Comments
 (0)