-
-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Open
Labels
03 - MaintenancesprintableIssue fits the time-frame and setting of a sprintIssue fits the time-frame and setting of a sprint
Description
Within the numpy codebase we aim to keep the maximum line length at 88 (#27320). We will enforce the ruff E501 rule for the codebase step by step:
List of files to be handled can be found in the ruff.toml file.
Procedure:
- Select a couple of files to fix (for example all python files in numpy/random)
- Update
ruff.tomlto enable ruff E501 - Change python files to have maximum line length 88
- If some formatting really is better with longer lines, use
# noqa: E501to make an exception
Metadata
Metadata
Assignees
Labels
03 - MaintenancesprintableIssue fits the time-frame and setting of a sprintIssue fits the time-frame and setting of a sprint