We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No description provided.
The text was updated successfully, but these errors were encountered:
Would be very useful to be able to not sort array contents as in some applications that order is important.
For example, with pytest:
[tool.pytest.ini_options] filterwarnings = [ 'error', 'default::UserWarning', ]
will treat all warnings as errors, except for UserWarnings which it will just treat as warnings.
But after sorting:
[tool.pytest.ini_options] filterwarnings = [ 'default::UserWarning', 'error', ]
will treat all warnings as errors.
This is because when a warning matches more than one option in the list, the action for the last matching option is performed.
Sorry, something went wrong.
Missed that I had --all set in my pre-commit-config, remove that and don't turn on sort_inline_arrays and I get the behaviour I want.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: