Skip to content

Suppress warning related to string comparison#84

Merged
nocollier merged 1 commit intorubisco-sfa:masterfrom
colligant:patch-1
Dec 1, 2023
Merged

Suppress warning related to string comparison#84
nocollier merged 1 commit intorubisco-sfa:masterfrom
colligant:patch-1

Conversation

@colligant
Copy link
Copy Markdown
Contributor

Check for the empty string with != "" instead of is not "". This is the correct syntax for python equality comparison.
Current is not is doing identity comparison and emits a warning.

Check for the empty string with != "" instead of `is not ""`. This is the correct syntax for python equality comparison.
@nocollier nocollier merged commit c2a4a5c into rubisco-sfa:master Dec 1, 2023
@nocollier
Copy link
Copy Markdown
Collaborator

Thank you!

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