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

[nfc] ruff: disable too many branches/statements #2786

Merged
merged 1 commit into from
Sep 24, 2024
Merged

[nfc] ruff: disable too many branches/statements #2786

merged 1 commit into from
Sep 24, 2024

Conversation

mikea
Copy link
Collaborator

@mikea mikea commented Sep 24, 2024

Imo these are arbitrary and are often fought with.

Imo these are arbitrary and are often fought with.
@mikea mikea requested review from a team as code owners September 24, 2024 17:02
@npaun
Copy link
Member

npaun commented Sep 24, 2024

Pretty meh on this one. I dislike long and complex functions, but those limits seem low.

@mikea
Copy link
Collaborator Author

mikea commented Sep 24, 2024

I dislike long and complex functions

This is what code-reviewers are for. As it is I can't land simple script just because it has 52 statements and not 50. Don't know who benefits from this one.

Copy link
Member

@npaun npaun left a comment

Choose a reason for hiding this comment

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

That is annoying. Nuke away.

@mikea mikea merged commit 993b3ff into main Sep 24, 2024
14 checks passed
@mikea mikea deleted the mikea-patch-3 branch September 24, 2024 20:46
@hoodmane
Copy link
Contributor

Thanks @mikea!

jclee pushed a commit that referenced this pull request Oct 11, 2024
Imo these are arbitrary and are often fought with.
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.

4 participants