logo

... flake8.


While your program may work functionally, it may still be hard to maintain if the style of it is messy. So it would be nice to automated code style. A favourable tool for that the flake8 ecosystem.


Notes

The config file in this video is shown below.

[flake8]
# W291 - we dont care about trailing whitespace
# E302 - one line between functions is fine
ignore = W291,E302
exclude = ignore_this.py
max-complexity = 10
max-line-length = 70

Feedback? See an issue? Something unclear? Feel free to mention it here.

If you want to be kept up to date, consider getting the newsletter.