From 5389f18f6cdbb32e844548bde7e0867d9d4f873c Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Thu, 3 Jun 2021 12:33:18 -0500 Subject: [PATCH] Run pre-commit updates on a quarterly basis. --- .pre-commit-config.yaml | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 358b1cfa8..dcec67cc7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,8 @@ +ci: + autoupdate_schedule: quarterly + +exclude: '(?:^signac/common/configobj/)' + repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: 'v4.0.1' @@ -13,13 +18,12 @@ repos: - id: debug-statements - id: requirements-txt-fixer - repo: https://github.com/asottile/pyupgrade - rev: 'v2.19.0' + rev: 'v2.19.1' hooks: - id: pyupgrade - exclude: '(?:configobj/.*)' args: - --py36-plus - - repo: https://github.com/pycqa/isort + - repo: https://github.com/PyCQA/isort rev: '5.8.0' hooks: - id: isort @@ -27,17 +31,21 @@ repos: rev: '21.5b2' hooks: - id: black - exclude: '(?:configobj/.*)' - repo: https://github.com/PyCQA/flake8 rev: '3.9.2' hooks: - id: flake8 - exclude: '(?:configobj/.*)' - - repo: https://github.com/pycqa/pydocstyle + - repo: https://github.com/PyCQA/pydocstyle rev: '6.1.1' hooks: - id: pydocstyle - files: ^((?!doc|tests|configobj|db).)*$ + exclude: | + (?x)^( + ^doc/| + ^tests/| + ^signac/common/configobj/| + ^signac/db/ + ) - repo: https://github.com/pre-commit/mirrors-mypy rev: 'v0.812' hooks: