From f1e66ff8428441ad9a3e81255cf9590ea6045f52 Mon Sep 17 00:00:00 2001 From: Arnav Choudhury Date: Wed, 2 Jun 2021 13:17:37 +0530 Subject: [PATCH] Updated .pre-commit-config.yaml to self-update its dependencies Pre-commit will now automatically also run on any raised PRs. This will ensure committed code will always stay consistent. --- {{cookiecutter.project_slug}}/.pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/{{cookiecutter.project_slug}}/.pre-commit-config.yaml b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml index d054489d..321d834d 100644 --- a/{{cookiecutter.project_slug}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml @@ -26,3 +26,10 @@ repos: - id: flake8 args: ['--config=setup.cfg'] additional_dependencies: [flake8-isort] + + +# sets up .pre-commit-ci.yaml to ensure pre-commit dependencies stay up to date +ci: + autoupdate_schedule: weekly + skip: [] + submodules: false