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
U+200B
Describe the bug
Black adds unexpected indent to docstrings when previous lines contains a zero-width space character.
To Reproduce
Run Black on the following code:
class Test: def test(self) -> None: """Test. Testing... Testing... Testing... """
This results in the following formatting:
Expected behavior
I would expect this to format as it would without the zero-width space characters, keeping the same indent level as the unformatted code.
Environment
Additional context
N/A
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Black adds unexpected indent to docstrings when previous lines contains a zero-width space character.
To Reproduce
Run Black on the following code:
This results in the following formatting:
Expected behavior
I would expect this to format as it would without the zero-width space characters, keeping the same indent level as the unformatted code.
Environment
Additional context
N/A
The text was updated successfully, but these errors were encountered: