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

Fix(vscode): Respect line length ruff.toml configuration #7306

Merged
merged 1 commit into from
Sep 12, 2023

Conversation

MichaReiser
Copy link
Member

Summary

This PR fixes the issue where the formatter used in VS code didn't respect the line-length configured in the ruff.toml.

Test Plan

Tested that using the ruff debug output respects the configured line length

@MichaReiser
Copy link
Member Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@MichaReiser MichaReiser force-pushed the format-stdin-ruff-toml branch from 7641c59 to 337b460 Compare September 12, 2023 15:21
crates/ruff_cli/src/commands/format.rs Outdated Show resolved Hide resolved
@MichaReiser MichaReiser added bug Something isn't working formatter Related to the formatter labels Sep 12, 2023
@MichaReiser MichaReiser enabled auto-merge (squash) September 12, 2023 15:26
@MichaReiser MichaReiser merged commit e561f57 into main Sep 12, 2023
@MichaReiser MichaReiser deleted the format-stdin-ruff-toml branch September 12, 2023 15:31
@github-actions
Copy link
Contributor

PR Check Results

Ecosystem

✅ ecosystem check detected no changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working formatter Related to the formatter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants