From bb36cac5da6202e4ff267a091babdd77d6d5a708 Mon Sep 17 00:00:00 2001 From: Simon Jones Date: Tue, 12 Dec 2023 16:09:49 -0500 Subject: [PATCH] feat: pre-commit linting on python files --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9a54665..fd5c7bf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ repos: rev: v4.5.0 hooks: - id: check-ast - files: '.*\.py$' + files: \.py$ - id: check-case-conflict - id: check-merge-conflict - id: forbid-submodules @@ -15,6 +15,6 @@ repos: hooks: - id: fix-linting entry: poetry run task lint --fix - files: '.*\.py$' + files: \.py$ language: system name: Fix Linting