Flake8 line limit is inconsistent with Black #2064
Labels
enhancement
New features, or improvements to existing features.
good first issue
Is this your first time contributing? This could be a good place to start!
What is the problem or limitation you are having?
Briefcase's flake8 configuration (set in tox.ini because of... reasons) enforces a line length of 119. However, Black format enforces an 88 character limit. So - our code is being formatted to 88 character lines, but that won't format some comments and strings, which can lead to PRs that don't auto-flag a formatting issue.
Describe the solution you'd like
Briefcase's flake8 configuration should set an 88 characters limit (to match Black).
Existing code that exceeds the 88 character limit should be reformatted.
Describe alternatives you've considered
None
Additional context
After changing the tox.ini configuration,
pre-commit run --all
will highlight all the problem lines.The text was updated successfully, but these errors were encountered: