Calmcode - flake8: linewidth complexity

Linewidth Complexity

1 2 3 4 5 6 7

Let's expand our config file such that it also configures the maximum line width. That way we can accomodate users with wider screens.

The .flake8 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