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

docs: Formatter compatibility warning for D207 and D300 #10007

Merged

Conversation

arkuhn
Copy link
Contributor

@arkuhn arkuhn commented Feb 16, 2024

- Update docs to mention formatter compatability interactions for
under-indentation (D207) and triple-single-quotes (D300)
- Changes verified locally with mkdocs
- Closes: astral-sh#9675
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@charliermarsh charliermarsh added the documentation Improvements or additions to documentation label Feb 17, 2024
@charliermarsh
Copy link
Member

Thank you!

@charliermarsh charliermarsh merged commit d46c5d8 into astral-sh:main Feb 17, 2024
17 checks passed
nkxxll pushed a commit to nkxxll/ruff that referenced this pull request Mar 10, 2024
)

- Update docs to mention formatter compatibility interactions for
under-indentation (D207) and triple-single-quotes (D300)
- Changes verified locally with mkdocs
- Closes: astral-sh#9675
@Avasam
Copy link
Contributor

Avasam commented Dec 28, 2024

Are you sure D300 applies? The playground even with preview=true does not format those docstring back to triple-quoting: https://play.ruff.rs/c41e8485-df53-4dbd-a738-274ffc71c6fe?secondary=Format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

D207 and D300 doesn't mention formatter redundancy
3 participants