Linting

This project uses black mostly for linting, but some practices that I disagree with have been disabled:

  • max-line width is disabled because we can easily use editors, such as vscode, to “word wrap” and it will continue in the next line, which will provide better readability. On the other hand, if we force it as a linting requirement, we often end up writing additional code and characters (multiline strings don’t get easily formatted by black, it has to be manual), in certain cases it actually makes code more readable, especially for this project, in situations where there are multiple conditions chained together, if there is a line break, it makes it harder to make sense of it with just one glance.