Closed grelas closed 11 months ago
@grelas
is there a "prettier" for python?
Many Python projects use flake8 for code conformity. Like many developers, I cheat using autopep8.
The problem with string quotes though is the Python coding style standard (a k a PEP8, readable version), specifically skirts this:
In Python, single-quoted strings and double-quoted strings are the same. This PEP does not make a recommendation for this. Pick a rule and stick to it. When a string contains single or double quote characters, however, use the other one to avoid backslashes in the string. It improves readability.
I'll fix the code formatting project-wide later, but you can reformat your code if you want.