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
While docstrings should absolutely use """ (already the case in both black and axblack), there are also triple-quoted strings which aren't docstrings.
"""
It would be nice if those were changed to triple-single-quotes.
For example, this snippet:
def get_sql(): '''Get a dummy SQL statement.''' stmt = """ SELECT * FROM foo WHERE bar; """ return stmt
should be formatted like this:
def get_sql(): """Get a dummy SQL statement.""" stmt = ''' SELECT * FROM foo WHERE bar; ''' return stmt
The text was updated successfully, but these errors were encountered:
Hi, so sorry - crazy year, totally overlooked this one. You are 100% right regarding what's better, have pushed a new version to git and pypi.
Can you close if ok 4u?
Sorry, something went wrong.
sounds like ok ;-)
hadn't seen the question ;) but yes, looks good!
No branches or pull requests
While docstrings should absolutely use
"""
(already the case in both black and axblack), there are also triple-quoted strings which aren't docstrings.It would be nice if those were changed to triple-single-quotes.
For example, this snippet:
should be formatted like this:
The text was updated successfully, but these errors were encountered: