Docker image to run pre-commit on Python apps/libraries
825
Image with common dependencies to run pre-commit in Python apps/libraries:
python3-all python3-dev python3-pip python3-venv pylint3build-essential to allow local python package using pippre-commit and git commandspre-commit environments for pylint, pyupgrade, black and isortTo use it:
docker run -it -v "$(pwd)":/src -w /src brenard/python-pre-commit
pre-commit run --all-files
Note: an example .pre-commit-config.yaml file is provided with Docker image source.
Content type
Image
Digest
sha256:404356fb5…
Size
250.4 MB
Last updated
about 1 month ago
docker pull brenard/python-pre-commit