From 3c3b6185eb5f964938ec4d04554a39764bb39255 Mon Sep 17 00:00:00 2001 From: Salomon Popp Date: Mon, 8 Apr 2024 10:59:05 +0200 Subject: [PATCH] Include Poetry lockfile in files regex --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bd342fe..eb9bd65 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,7 @@ repos: entry: poetry check language: python pass_filenames: false - files: ^(.*/)?pyproject\.toml$ + files: ^(.*/)?(pyproject\.toml|poetry\.lock)$ - id: ruff-lint name: ruff-lint entry: ruff check