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
else
(run against master)
$ black --diff test.py 2> /dev/null --- test.py 2018-06-23 15:02:32.200993 +0000 +++ test.py 2018-06-23 15:03:00.152248 +0000 @@ -1,6 +1,7 @@ if False: from x import y else: + def y(): pass
(noop)
The text was updated successfully, but these errors were encountered:
This is deliberate. A def directly inside a def will do the same, too. This is to make inner defs more prominent.
We did relax this for first defs in a class so maybe we should generalize this for all indented blocks.
Sorry, something went wrong.
We will be solving this as part of #450.
No branches or pull requests
current behaviour
(run against master)
desired behaviour
(noop)
The text was updated successfully, but these errors were encountered: