From 6ec75a7ab7c8cfe46ca62e99f7ba371738b533a9 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 19 Jan 2023 14:51:16 +0100 Subject: [PATCH] Improve doc --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 899fa24..631ad2f 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,11 @@ Image with common dependencies to run pre-commit in Python apps/libraries: - common python packages: `python3-all python3-dev python3-pip python3-venv pylint3` - `build-essential` to allow local python package using `pip` - `pre-commit` and `git` commands +- pre-install `pre-commit` environments for `pylint`, `pyupgrade`, `black` and `isort` To use it: ```bash docker run -it -v "$(pwd)":/src -w /src brenard/python-pre-commit +pre-commit run --all-files ```