forked from pypa/sampleproject
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Problem
After the new project has been initialized, I receive a warning that pre-commit is not installed. I see that pre-commit is in the dev dependencies.
'pre-commit' is not recognized as an internal or external command,
operable program or batch file.
'Error during installation of pre-commit hooks. Is pre-commit installed?'
Solutions
- move
pre-committodependenciesinpyproject.toml - add documentation that one must install
pre-commitor install thedevdependencies before enablingprecommitduring runtime - others?
Suggestion
Since the precommit option defaults to true, my suggestion would be to move pre-commit package into the python-project-template dependencies.
@jannismain I'd be interested in your thoughts. I'd be willing to implement either of the proposed changes or explore other options
Metadata
Metadata
Assignees
Labels
No labels