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

Add local Pylint rule ignore directives for E1130 false positives #1197

Merged
merged 7 commits into from
Nov 28, 2023

Conversation

matt-graham
Copy link
Collaborator

Part of #1181.

Adds a series of local Pylint rule ignores / disables for rule E1130 (invalid-unary-operand-type) to avoid false positives on using ~ bitwise inversion / not operator with pandas Series objects or numpy.int64 data, which both seem to be incorrectly identified by Pylint as not support the ~ operator. Also removes the global E1130 rule ignore in pyproject.toml.

@matt-graham matt-graham requested a review from tamuri November 14, 2023 17:31
@matt-graham matt-graham merged commit 8d40539 into master Nov 28, 2023
55 checks passed
@matt-graham matt-graham deleted the mmg/fix-pylint-e1130 branch November 28, 2023 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants