/ notes
A collection of thoughts, things I've learnt and things I want to remember


The Digital Land team use flake8(style guide enforcement).

setup.cfg, in the root dir of your project, contains configuration rules for flake8. E.g.

max-line-length = 180
ignore = E203, W503

Exclude files

Exlude files using the --exclude option. It accepts a comma-separated list of patterns to ignore. E.g.

flake8 --exclude==.venv,node_modules .

Config file for python projects

I have created a gist so that I can use a similar setup for all python projects.