config: Missing correspondence silently fails? sections = ["{WROTE_AB}", ...]
and known_{meant_abc}
#1331
Labels
enhancement
New feature or request
Milestone
Would it be possible to have
isort
complain ifsections
is defined without a correspondingknown_{snake_case}
definition? -- or conversely, ifknown_{snake_case}
is defined, but is not used insections
?I just spent some time chasing down an issue where section correspondence didn't exist, but it silently failed.
In my specific cast, I had the following TOML config portion:
But
isort==5.1.3
was formatting the following file:into this:
which was not what I wanted.
In the end, it was because I misspelled
"ROBOTLOOMOTION_UPSTREAM"
- it was missing theC
🤦The text was updated successfully, but these errors were encountered: