Skip to content

Commit 39adbbc

Browse files
authored
change: enable too-many-public-methods Pylint check (#939)
* change: enable too-many-public-methods Pylint check This is a useful check to have, but is a lot of work to retroactively enforce. Enabling it while ignoring the single violation allows the validation to run for future code.
1 parent aab1675 commit 39adbbc

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
@@ -89,7 +89,6 @@ disable=
8989
useless-object-inheritance, # TODO: Remove unnecessary imports
9090
cyclic-import, # TODO: Resolve cyclic imports
9191
no-self-use, # TODO: Convert methods to functions where appropriate
92-
too-many-public-methods, # TODO: Resolve
9392
consider-using-ternary, # TODO: Consider ternary expressions
9493
chained-comparison, # TODO: Simplify chained comparison between operands
9594
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
@@ -55,7 +55,7 @@ class LogState(object):
5555
COMPLETE = 5
5656

5757

58-
class Session(object):
58+
class Session(object): # pylint: disable=too-many-public-methods
5959
"""Manage interactions with the Amazon SageMaker APIs and any other AWS services needed.
6060
6161
This class provides convenient methods for manipulating entities and resources that Amazon SageMaker uses,

0 commit comments

Comments
 (0)