flake8 is a Python source code checker: pep8, pyflakes and co
$ docker run --rm -v /path/to/python/code:/code eeacms/flake8
Exclude files or directories:
$ docker run --rm -v /path/to/python/code:/code \
eeacms/flake8 --exclude=skins /code
See flake8 --help
for more options:
$ docker run --rm eeacms/flake8 --help