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

Change select default to F, E4, E7, E9 #7572

Closed
Tracked by #7642
MichaReiser opened this issue Sep 21, 2023 · 1 comment · Fixed by #7900
Closed
Tracked by #7642

Change select default to F, E4, E7, E9 #7572

MichaReiser opened this issue Sep 21, 2023 · 1 comment · Fixed by #7900
Labels
breaking Breaking API change configuration Related to settings and configuration formatter Related to the formatter

Comments

@MichaReiser
Copy link
Member

Remove the formatting specific lint rules from the default rule set.

@MichaReiser MichaReiser added configuration Related to settings and configuration formatter Related to the formatter labels Sep 25, 2023
@MichaReiser MichaReiser added the breaking Breaking API change label Sep 25, 2023
@MichaReiser MichaReiser added this to the Formatter: Beta milestone Sep 25, 2023
@MichaReiser
Copy link
Member Author

MichaReiser commented Sep 28, 2023

@zanieb should we do this change as part of 0.1.0?

zanieb added a commit that referenced this issue Oct 10, 2023
zanieb added a commit that referenced this issue Oct 11, 2023
Closes #7572

Drops formatting specific rules from the default rule set as they
conflict with formatters in general (and in particular, conflict with
our formatter). Most of these rules are in preview, but the removal of
`line-too-long` and `mixed-spaces-and-tabs` is a change to the stable
rule set.

## Example

The following no longer raises `E501`
```
echo "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx = 1" | ruff check -
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking API change configuration Related to settings and configuration formatter Related to the formatter
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant