Public | Automated Build

Last pushed: 3 months ago
Short Description
Docker image for PEP8 Python style guide checker
Full Description

Docker image for pep8 checker

pep8 is a Python style guide checker

Supported tags and respective Dockerfile links


$ docker run --rm -v /path/to/python/code:/code eeacms/pep8


$ docker run --rm eeacms/pep8

Running in jenkins, including pull requests:

  • GIT_NAME, GIT_SRC - must be given
  • GIT_BRANCH - defaults to master
  • GIT_CHANGE_ID - can be empty or pull request id

    $ docker run -i --rm -e GIT_SRC="$GIT_NAME.git" -e GIT_NAME="$GIT_NAME" -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" eeacms/pep8

Advanced usage

Exclude files or directories:

$ docker run --rm -e GIT_SRC="" eeacms/pep8 --exclude=Extensions,skins,tests,api /code

See pep8 --help for more options:

$ docker run --rm eeacms/pep8 --help
Docker Pull Command
Source Repository