Sign inSign up

bartlomiejkida/python-lint

By bartlomiejkida

•Updated 4 days ago

Image
0

10K+

bartlomiejkida/python-lint repository overview

Python (pylint) and j2 (j2lint) linter docker image. The image is built daily so it contains the latest version of the software.

Example usage:

# Run image - Don't forget to add a volume with files to be checked
docker run -ti -v /home/USER/SOME_PYTHON_DIR:/home/linter/check bartlomiejkida/python-lint
# Inside on container - find python files and check lint
find /home/linter/check -maxdepth 10 -name "*.py" -print0 | xargs -0 -n1 -P8 pylint -v
# Inside on container - find j2 files and check lint
find . -maxdepth 10 -name "*.j2" -print0 | xargs -0 -n1 -P8 j2lint -v

Source code: https://gitlab.com/bartlomiejkida/python-lint⁠

Tag summary

Content type

Image

Digest

sha256:c363464db…

Size

97.6 MB

Last updated

4 days ago

docker pull bartlomiejkida/python-lint