magnati/pylint

By magnati

Updated almost 2 years ago

Alpine-based multistage-build version of pylint for reproducible usage in CI, forked from cytopia.

Image
0

50K+

magnati/pylint repository overview

Docker image for pylint

Tag License

lint build weekly

View Dockerfiles on GitHub.

Available Pylint major versions: 2, 3

Available Architectures: amd64, i386, arm64, arm64/v8, arm/v7, arm/v6, ppc64le, s390x

Supported Python versions: 3.8, 3.9, 3.10, 3.11, 3.12

Tiny Alpine-based multistage-build dockerized version of pylint[1]. The image is built weekly against multiple stable versions and pushed to Dockerhub.

[1] Official project: https://github.com/PyCQA/pylint

:whale: Available Docker image versions

Docker

Rolling releaess

The following Docker image tags are rolling releases and are built and updated every sunday night.

weekly

Docker TagGit RefpylintpythonAvailable Architectures
2-py38master2.x.x3.8amd64, i386, arm64, arm64/v8, arm/v7, arm/v6, ppc64le, s390x
2-py39master2.x.x3.9amd64, i386, arm64, arm64/v8, arm/v7, arm/v6, ppc64le, s390x
2-py310master2.x.x3.10amd64, i386, arm64, arm64/v8, arm/v7, arm/v6, ppc64le, s390x
2-py311master2.x.x3.11amd64, i386, arm64, arm64/v8, arm/v7, arm/v6, ppc64le, s390x
2-py312master2.x.x3.12amd64, i386, arm64, arm64/v8, arm/v7, arm/v6, ppc64le, s390x
3-py38master3.x.x3.8amd64, i386, arm64, arm64/v8, arm/v7, arm/v6, ppc64le, s390x
3-py39master3.x.x3.9amd64, i386, arm64, arm64/v8, arm/v7, arm/v6, ppc64le, s390x
3-py310master3.x.x3.10amd64, i386, arm64, arm64/v8, arm/v7, arm/v6, ppc64le, s390x
3-py311master3.x.x3.11amd64, i386, arm64, arm64/v8, arm/v7, arm/v6, ppc64le, s390x
3-py312master3.x.x3.12amd64, i386, arm64, arm64/v8, arm/v7, arm/v6, ppc64le, s390x
Point in time releases

The following Docker image tags are built once and can be used for reproducible builds. Its version never changes so you will have to update tags in your pipelines from time to time in order to stay up-to-date.

build

Docker TagGit RefpylintpythonAvailable Architectures
2-py38-<tag>tag: 2.x.x3.8amd64, i386, arm64, arm64/v8, arm/v7, arm/v6, ppc64le, s390x
2-py39-<tag>tag: 2.x.x3.9amd64, i386, arm64, arm64/v8, arm/v7, arm/v6, ppc64le, s390x
2-py310-<tag>tag: 2.x.x3.10amd64, i386, arm64, arm64/v8, arm/v7, arm/v6, ppc64le, s390x
2-py311-<tag>tag: 2.x.x3.11amd64, i386, arm64, arm64/v8, arm/v7, arm/v6, ppc64le, s390x
2-py312-<tag>tag: 2.x.x3.12amd64, i386, arm64, arm64/v8, arm/v7, arm/v6, ppc64le, s390x
3-py38-<tag>tag: 3.x.x3.8amd64, i386, arm64, arm64/v8, arm/v7, arm/v6, ppc64le, s390x
3-py39-<tag>tag: 3.x.x3.9amd64, i386, arm64, arm64/v8, arm/v7, arm/v6, ppc64le, s390x
3-py310-<tag>tag: 3.x.x3.10amd64, i386, arm64, arm64/v8, arm/v7, arm/v6, ppc64le, s390x
3-py311-<tag>tag: 3.x.x3.11amd64, i386, arm64, arm64/v8, arm/v7, arm/v6, ppc64le, s390x
3-py312-<tag>tag: 3.x.x3.12amd64, i386, arm64, arm64/v8, arm/v7, arm/v6, ppc64le, s390x

Where <tag> refers to the chosen git tag from this repository.

:open_file_folder: Docker mounts

The working directory inside the Docker container is /data/ and should be mounted locally to the root of your project where your setup.cfg or tox.ini config file is.

:computer: Usage

docker run --rm -v $(pwd):/data Magnati/docker-pylint .
Docker images

Save yourself from installing lot's of dependencies and pick a dockerized version of your favourite linter below for reproducible local or remote CI tests:

GitHubDockerHubTypeDescription
awesome-ciaci-hub-imgBasicTools for git, file and static source code analysis
file-lintflint-hub-imgBasicBaisc source code analysis
linkchecklinkcheck-hub-imgBasicSearch for URLs in files and validate their HTTP status code
ansibleansible-hub-imgAnsibleMultiple versions and flavours of Ansible
ansible-lintalint-hub-imgAnsibleLint Ansible
gofmtgfmt-hub-imgGoFormat Go source code [1]
goimportsgimp-hub-imgGoFormat Go source code [1]
golintglint-hub-imgGoLint Go code
eslintelint-hub-imgJavascriptLint Javascript code
jsonlintjlint-hub-imgJSONLint JSON files [1]
kubevalkubeval-hub-imgK8sLint Kubernetes files
checkmakecm-hub-imgMakeLint Makefiles
phpcbfpcbf-hub-imgPHPPHP Code Beautifier and Fixer
phpcspcs-hub-imgPHPPHP Code Sniffer
phplintplint-hub-imgPHPPHP Code Linter [1]
php-cs-fixerpcsf-hub-imgPHPPHP Coding Standards Fixer
banditbandit-hub-imgPythonA security linter from PyCQA
blackblack-hub-imgPythonThe uncompromising Python code formatter
mypymypy-hub-imgPythonStatic source code analysis
pycodestylepycs-hub-imgPythonPython style guide checker
pydocstylepyds-hub-imgPythonPython docstyle checker
pylintpylint-hub-imgPythonPython source code, bug and quality checker
ruffruff-hub-imgPythonFast Python source code, bug and quality checker
terraform-docstfdocs-hub-imgTerraformTerraform doc generator (TF 0.12 ready) [1]
terragrunttg-hub-imgTerraformTerragrunt and Terraform
terragrunt-fmttgfmt-hub-imgTerraformterraform fmt for Terragrunt files [1]
yamlfmtyfmt-hub-imgYamlFormat Yaml files [1]
yamllintylint-hub-imgYamlLint Yaml files

[1] Uses a shell wrapper to add enhanced functionality not available by original project.

Makefiles

Visit cytopia/makefiles for dependency-less, seamless project integration and minimum required best-practice code linting for CI. The provided Makefiles will only require GNU Make and Docker itself removing the need to install anything else.

:page_facing_up: License

MIT License

Copyright (c) 2024 Magnati Copyright (c) 2019 cytopia

Tag summary

Content type

Image

Digest

sha256:1250846b5

Size

16 MB

Last updated

almost 2 years ago

docker pull magnati/pylint:3-py39