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

Line length in pyproject.toml doesn't override global .isort.cfg #1237

Closed
meshy opened this issue Jun 24, 2020 · 3 comments
Closed

Line length in pyproject.toml doesn't override global .isort.cfg #1237

meshy opened this issue Jun 24, 2020 · 3 comments

Comments

@meshy
Copy link

meshy commented Jun 24, 2020

I have been working on a project which includes the following settings in pyproject.toml:

[tool.isort]
line_length = 120

I have found that my global ~/.isort.cfg is overriding this setting.

[settings]
line_length = 88

I would have expected the project to override the global setting. I wonder if this is related to #1185, though it doesn't appear to be exactly the same case.

@timothycrosley
Copy link
Member

This is fixed in develop and will make it's way out in the 5.0.0 release.

@meshy
Copy link
Author

meshy commented Jun 29, 2020

Great news, thank you very much!

@meshy
Copy link
Author

meshy commented Jul 5, 2020

The 5.0 release is fantastic, thank you!

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

No branches or pull requests

2 participants