I set up a pre-commit plugin for one of my projects.
Right now, the .pre-commit-config.yaml
configuration file is located on the root of the project (as indicated by the official doc https://pre-commit.com/#usage).
Is it possible to move it to a separate folder and adjust it somehow to be read from there?
Current state (output of dir
command):
.pre-commit-config.yaml
.pylintrc
ci
commons
doc
...
What I would like to have (or similar):
.pylintrc
ci
commons
doc
precommit\.pre-commit-config.yaml
...