Improve doc
This commit is contained in:
parent
9bad2724b1
commit
6ec75a7ab7
1 changed files with 2 additions and 0 deletions
|
@ -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`
|
- common python packages: `python3-all python3-dev python3-pip python3-venv pylint3`
|
||||||
- `build-essential` to allow local python package using `pip`
|
- `build-essential` to allow local python package using `pip`
|
||||||
- `pre-commit` and `git` commands
|
- `pre-commit` and `git` commands
|
||||||
|
- pre-install `pre-commit` environments for `pylint`, `pyupgrade`, `black` and `isort`
|
||||||
|
|
||||||
To use it:
|
To use it:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -it -v "$(pwd)":/src -w /src brenard/python-pre-commit
|
docker run -it -v "$(pwd)":/src -w /src brenard/python-pre-commit
|
||||||
|
pre-commit run --all-files
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue