Python: Guiding people using contibuting.md so they do not fail pre-commit
I have a simple instruction which is good to be kept in CONTRIBUTION.md. Please add this wherever it looks good:
- clone your forked repository locally
- change directory to its root
- run
pip install pre-commit
- run
pre-commit run --all-files
- commit and push the changes to your fork.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 26 (16 by maintainers)
wget https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-6.1/gcc/libgcc-6.3.0-2.aix6.1.ppc.rpm wget https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc-6.1/gcc/libstdcplusplus-6.3.0-2.aix6.1.ppc.rpmflake8/ isort/ black.
Instalar el compromiso previo: $ python -m pip install pre-commit Y entonces: $ pre-commit installPR
1flake8/ isort/ black.
Instalar el compromiso previo: $ python -m pip install pre-commit Y entonces: $ pre-commit installpip install pre-commit correr pre-commit run --all-files