Skip to content

ruff: default rule set #10360

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

Merged
merged 1 commit into from
May 28, 2025
Merged

Conversation

DimitriPapadopoulos
Copy link
Contributor

By default, Ruff enables Flake8's F rules, along with a subset of the E rules (E4, E7, E9), omitting any stylistic rules that overlap with the use of a formatter ( E1, E2, E3, E5).

The extend-select setting implicitly enables the default rule set, no need to explicitly enable F and E rules.

  • Closes #xxxx
  • Tests added
  • User visible changes (including notable bug fixes) are documented in whats-new.rst
  • New functions/methods are listed in api.rst

By default, Ruff enables Flake8's `F` rules, along with a subset of
the `E` rules, omitting any stylistic rules that overlap with the use
of a formatter.

The  `extend-select` setting implicitly enables the default rule set,
no need to explicitly enable `F` and `E` rules.
@dcherian dcherian merged commit 303748c into pydata:main May 28, 2025
32 checks passed
@DimitriPapadopoulos DimitriPapadopoulos deleted the extend-select branch May 28, 2025 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants