-
Notifications
You must be signed in to change notification settings - Fork 4
refactor(ruff): ignore ruff on this one #141
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
refactor(ruff): ignore ruff on this one #141
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 |
I think this would be better. It still assumes a specific subnet size, which I don't love, but is more flexible.
|
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me!
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks even better. Down with comprehensions!!! 🔱
ruff seems to think this is a list and doesn't like how we're string indexing