From c71957cbdd154e8a94e2773aca73d884cad12234 Mon Sep 17 00:00:00 2001 From: Simon Jones Date: Tue, 12 Dec 2023 16:14:26 -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 fd5c7bf..50a37d9 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 @@ -14,7 +14,7 @@ repos: - repo: local hooks: - id: fix-linting + files: '\.py$' entry: poetry run task lint --fix - files: \.py$ language: system name: Fix Linting