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

ISC rules do not conflict with the formatter anymore #564

Merged
merged 1 commit into from
Mar 6, 2025

Conversation

DimitriPapadopoulos
Copy link
Contributor

Starting with ruff 0.9.0, ruff rule ISC001 is compatible with the ruff formatter:

As for ISC002:

Formatter compatibility

Using this rule with allow-multiline = false can be incompatible with the formatter because the formatter can introduce new multi-line implicitly concatenated strings. We recommend to either:

  • Enable ISC001 to disallow all implicit concatenated strings
  • Setting allow-multiline = true

@henryiii henryiii merged commit 490fa67 into scientific-python:main Mar 6, 2025
30 checks passed
@DimitriPapadopoulos DimitriPapadopoulos deleted the ISC branch March 6, 2025 17:22
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