Skip to content

Limit line length in src/briefcase comments (ruff E501)#2526

Merged
freakboy3742 merged 1 commit intobeeware:mainfrom
NMertsch:ruff-E501-fix-comment-line-length
Oct 22, 2025
Merged

Limit line length in src/briefcase comments (ruff E501)#2526
freakboy3742 merged 1 commit intobeeware:mainfrom
NMertsch:ruff-E501-fix-comment-line-length

Conversation

@NMertsch
Copy link
Contributor

@NMertsch NMertsch commented Oct 22, 2025

Issue #2383 requests to resolve ruff rule E501 by limiting all lines to 88 characters (and probably adding some noqa comments).

I'd like to split it into multiple PRs because it is a large task and the resolutions might trigger some (justified) discussions around style preferences.

This PR only addresses the comments in src/briefcase, which reduces the number of violations from 520 to 446. Please let me know what you think, and if you are interested in more PRs like this.

(I started with comments because I assume these fixes are less controversial than actual code changes.)

Refs #2383

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

Copy link
Member

@freakboy3742 freakboy3742 left a comment

Choose a reason for hiding this comment

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

Incremental improvement is still improvement; If this gets us ~100 issues closer to being able to enable E501, then it's worth it.

I'd suggest a similar incremental approach is worthwhile for the code changes as well - a PR that fixes "all line lengths in the platform module" (or similar) will make the review process a lot easier.

@freakboy3742 freakboy3742 merged commit 5cbfffc into beeware:main Oct 22, 2025
57 checks passed
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