Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

runs `pre-commit install` on installation (terrible hack)

Notifications You must be signed in to change notification settings

pre-commit/pre-commit-installed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pre-commit-installed

runs pre-commit install on installation (terrible hack)

what even?

One of the strong design decisions of pre-commit is that each action is opted into. There's a common query / complaint that "hey pre-commit should just install when I install it!". This monstrosity implements that.

You should probably not use this, it's mostly a proof of concept. pip tries pretty hard to make this difficult (as it should!). Running arbitrary code in setup.py is not a good idea.

About

runs `pre-commit install` on installation (terrible hack)

Resources

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages