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

Always append missing default sections #1571

Closed
wants to merge 1 commit into from
Closed

Always append missing default sections #1571

wants to merge 1 commit into from

Conversation

jaydesl
Copy link
Contributor

@jaydesl jaydesl commented Oct 21, 2020

Previously, if any of the default sections were omitted in a setup.cfg that defined a sections block, isort would throw an exception (see linked issues). Any omitted default sections are now appended to the defined sections, in their default order, and a UserWarning is generated to let the user know as much.

@jaydesl jaydesl closed this Oct 21, 2020
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.

1 participant