From 3c4953e6a91a50684c5a254ba6b733cac378eb25 Mon Sep 17 00:00:00 2001 From: Jonathan Wenger Date: Mon, 13 Jan 2025 12:18:22 -0500 Subject: [PATCH] fixed pre-commit config --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f7ae6ee2..ce1b3635 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,7 +16,7 @@ repos: hooks: - id: flake8 args: [--config=setup.cfg] - exclude: ^(examples/*)|(docs/*) + exclude: ^(examples/.*)|(docs/.*) - repo: https://github.com/omnilib/ufmt rev: v2.0.0 hooks: @@ -24,15 +24,15 @@ repos: additional_dependencies: - black == 22.3.0 - usort == 1.0.3 - exclude: ^(build/*)|(docs/*)|(examples/*) + exclude: ^(build/.*)|(docs/.*)|(examples/.*) - repo: https://github.com/jumanjihouse/pre-commit-hooks rev: 2.1.6 hooks: - id: require-ascii - exclude: ^(examples/.*\.ipynb)|(.github/ISSUE_TEMPLATE/*) + exclude: ^(examples/.*\.ipynb)|(.github/ISSUE_TEMPLATE/.*) - id: script-must-have-extension - id: forbid-binary - exclude: ^(examples/*)|(test/examples/old_variational_strategy_model.pth) + exclude: ^(examples/.*)|(test/examples/old_variational_strategy_model.pth) - repo: https://github.com/Lucas-C/pre-commit-hooks rev: v1.3.1 hooks: