Dockerized flake8 linter.
docker run --rm \
-v "$PWD":/usr/app \
-w /usr/app \
sendwithus/flake8 \
flake8 --ignore=E501 --exclude=src/*_pb.py src tests
Dockerized gometalinter.
docker run --rm \
-v "$PWD":/go/src/github.com/sendwithus/service \
-w /go/src/github.com/sendwithus/service \
sendwithus/gometalinter \
--fast \
--deadline=120s \
--vendor \
--config=scripts/lint.json ./...
Ensures that you aren't using feature branches in your projects.
docker run --rm -i -v "$PWD":/app sendwithus/gopkglinter /app/Gopkg.toml
Ensure that goimports have been run. MUST BE MOUNTED INSIDE THE GOPATH IN THE CONTAINER
docker run \
-v "$PWD":/go/src/github.com/sendwithus/project_name \
-w /go/src/github.com/sendwithus/project_name \
sendwithus/goimportslinter:latest
Buffet of golang linters and import verifiers.
docker run --rm \
-v "$PWD":/go/src/github.com/org/project \
-w /go/src/github.com/org/project \
sendwithus/linter-golang:latest
Enforces PEP8 style.
docker run --rm \
-v "$PWD"/src:/usr/src \
-w /usr/src \
sendwithus/linter-python-2.7:latest