Show a general warning prompt pointing to the upgrade guide when users attempt to run isort5 using deprecated settings #13717
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For #13716 Fixes #13312
Note isort5 has a bug which does not allow users to use deprecated arguments in
python.sortImports.args, when using stdin like we do: PyCQA/isort#1447. It throws errors instead of printing the warning related to deprecation.I have identified the fix in isort5 and suggested it to them. After they release the fix, we'll need to upgrade isort again. In this PR I'm assuming isort5 has fixed the bug and we're getting errors with warning codes when user uses deprecated settings.
package-lock.jsonhas been regenerated by runningnpm install(if dependencies have changed).