Pre-commit config should fallback to .pre-commit-config.yaml if .pre-commit-ci.yaml is found

Description

In 90% we run same pre-commit config between dev laptops and CI, I would like to use the default pre-commit config file ".pre-commit-config.yaml".

Implementation ideas

Check for .pre-commit-ci.yaml exists, if not, check .pre-commit-config.yaml if not create the file as it does currently.

Assignee Loading
Time tracking Loading