You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was following along with the Ariadne GraphQL server tutorial where we defined this beautiful little snippet representing a "Hello, world!" GraphQL query:
type_defs=gql(""" type Query { hello String! }""")
Black formatted it into this:
type_defs=gql(
""" type Query { hello String! }"""
)
I'm not sure what the "right thing" is here, but the black formatted version looks much worse to me. It's 2 lines longer and the quotes have mismatched indentation. It's the first time I've had an "ewwww" reaction to black's formatting, so I figured I'd leave you folks some feedback 👍
I'm using black, version 18.9b0
The text was updated successfully, but these errors were encountered:
I was following along with the Ariadne GraphQL server tutorial where we defined this beautiful little snippet representing a "Hello, world!" GraphQL query:
Black formatted it into this:
I'm not sure what the "right thing" is here, but the black formatted version looks much worse to me. It's 2 lines longer and the quotes have mismatched indentation. It's the first time I've had an "ewwww" reaction to black's formatting, so I figured I'd leave you folks some feedback 👍
I'm using
black, version 18.9b0
The text was updated successfully, but these errors were encountered: