Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid assignment from None #1113

Merged
merged 1 commit into from
Nov 19, 2020

Conversation

danielmitterdorfer
Copy link
Member

With this commit we reenable the pylint warning assignment-from-none
which checks whether a None return value from a function is assigned
to a variable. We also audited all such issues in the code and disabled
the warning accordingly.

Relates #838

With this commit we reenable the pylint warning `assignment-from-none`
which checks whether a `None` return value from a function is assigned
to a variable. We also audited all such issues in the code and disabled
the warning accordingly.

Relates elastic#838
@danielmitterdorfer danielmitterdorfer added :misc Changes that don't affect users directly: linter fixes, test improvements, etc. cleanup Linter changes, reformatting, removal of unused code etc. labels Nov 18, 2020
@danielmitterdorfer danielmitterdorfer added this to the 2.0.3 milestone Nov 18, 2020
@danielmitterdorfer danielmitterdorfer self-assigned this Nov 18, 2020
Copy link
Contributor

@hub-cap hub-cap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@danielmitterdorfer danielmitterdorfer merged commit d81f895 into elastic:master Nov 19, 2020
@danielmitterdorfer danielmitterdorfer deleted the none-assign branch November 19, 2020 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Linter changes, reformatting, removal of unused code etc. :misc Changes that don't affect users directly: linter fixes, test improvements, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants