Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pre commit python

$ pip install pre-commit

create a file named .pre-commit-config.yaml
you can generate a very basic configuration using 
$ pre-commit sample-config

$ pre-commit install

now pre-commit will run automatically on 
$ git commit
Source by pre-commit.com #
 
PREVIOUS NEXT
Tagged: #pre #commit #python
ADD COMMENT
Topic
Name
9+4 =