You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
change: correct code per len-as-condition Pylint check (aws#902)
The Pylint check is not actually enabled in this commit as it conflicts
directly with NumPy. Pylint has corrected this, and it will be included
in their next release (2.4.0):
pylint-dev/pylint#2684
Once Pylint 2.4.0 is released, we can consume it and remove this check.
A summary of this information is included in a TODO near the relevant
Pylint disable rule (len-as-condition).
Copy file name to clipboardExpand all lines: .pylintrc
+1-1
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ disable=
82
82
invalid-name,
83
83
too-many-instance-attributes,
84
84
line-too-long, # We let Flake8 take care of this # TODO: Fix these and stop relying on flake8
85
-
len-as-condition, # TODO: Use if seq: and if not seq: instead
85
+
len-as-condition, # TODO: Enable this check once pylint 2.4.0 is released and consumed due to the fix in https://github.com/PyCQA/pylint/issues/2684
86
86
logging-format-interpolation, # TODO: Fix logging so as to remove this.
0 commit comments