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
# fmt: skip
There is currently no way to tell both black and autoimport to ignore formatting a line.
This can be an issue when using black along with autoimport but wanting both formatters to ignore a debugger line.
The # noqa: autoimport is not recognised by black, so the current implementations does not suffice.
# noqa: autoimport
Black uses # fmt: skip as an instruction to not format a line.
We can utilise this same marker to ensure neither autoimport or black format a given line.
The text was updated successfully, but these errors were encountered:
Available since 1.0.4 thanks for the implementation :)
1.0.4
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Description
There is currently no way to tell both black and autoimport to ignore formatting a line.
This can be an issue when using black along with autoimport but wanting both formatters to ignore a debugger line.
The
# noqa: autoimport
is not recognised by black, so the current implementations does not suffice.Black uses
# fmt: skip
as an instruction to not format a line.Possible Solution
We can utilise this same marker to ensure neither autoimport or black format a given line.
The text was updated successfully, but these errors were encountered: