Flake8 – how to ignore warning

Some warnings are really annoyed. So to ignore them, just create a file ‘~/.config/flake8‘ with settings, for example:

[flake8]
ignore = D101,D102,D105
max-line-length = 100
max-complexity = 10

That’s it!