refactor(ruff): ignore ruff on this one#141
Merged
samoehlert merged 4 commits intomainfrom Apr 4, 2025
Merged
Conversation
ruff seems to think this is a list and doesn't like how we're string indexing
|
Minimum allowed coverage is Generated by 🐒 cobertura-action against ac2fa9e |
Contributor
|
I think this would be better. It still assumes a specific subnet size, which I don't love, but is more flexible. |
Collaborator
I think that since it's only used in the local settings, I'd just say let's not touch it and tell ruff to noqa the line and when it breaks we can add this message to the stack of "Seriously, Chris??" messages. |
also add a comment so we know what the INTERNAL_IPS stuff is about
…thub.com:esnet-security/SCRAM into topic/soehlert/ruff_updates_break_local_settings
crankynetman
approved these changes
Apr 4, 2025
Collaborator
crankynetman
left a comment
There was a problem hiding this comment.
Looks even better. Down with comprehensions!!! 🔱
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ruff seems to think this is a list and doesn't like how we're string indexing