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

How do I do lint.isort.lines-between-types=1 with the new syntax? #707

Open
red8888 opened this issue Feb 27, 2025 · 2 comments
Open

How do I do lint.isort.lines-between-types=1 with the new syntax? #707

red8888 opened this issue Feb 27, 2025 · 2 comments
Labels
question Asking for support or clarification

Comments

@red8888
Copy link

red8888 commented Feb 27, 2025

I previously had this:

"ruff.lint.args": [
	"--config",
	"lint.isort.lines-between-types=1",
	"lint.select=['ALL']"
],

How do I do that with the new syntax?

I see it has this:

"ruff.lint.select": [
	"ALL"
],

But how do I do this:
"lint.isort.lines-between-types=1",

@MichaReiser
Copy link
Member

MichaReiser commented Feb 27, 2025

We're about to release the next version of Ruff that adds support for a new ruff.configuration setting (see astral-sh/ruff#16296). It should be available in the next couple of minutes

@MichaReiser MichaReiser added the question Asking for support or clarification label Feb 27, 2025
@dhruvmanila
Copy link
Member

The new version is out with support for inline configuration in your editor settings. You can read more about it in https://docs.astral.sh/ruff/editors/settings/#configuration. Feel free to ask any questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Asking for support or clarification
Projects
None yet
Development

No branches or pull requests

3 participants