Docker image with flake8 python linter.
docker run -v $(pwd)/scripts:/scripts hoto/flake8:3.0.4 /scripts
#docker-compose.yml
version: '2'
services:
lint:
image: hoto/flake8:3.0.4
command: flake8 /scripts /tests
volumes:
- ./scripts:/scripts
- ./tests:/tests
- ./.flake8:/.flake8
#.gitlab-ci.yml
lint:
image: hoto/flake8:3.0.4
stage: lint
tags:
- dind
script:
- flake8 scripts/ tests/
Content type
Image
Digest
Size
29.5 MB
Last updated
almost 10 years ago
docker pull hoto/flake8