From 8b8b63507db579eddd249d582c80979166ad9193 Mon Sep 17 00:00:00 2001 From: adigitoleo Date: Thu, 3 Aug 2023 17:20:05 +1000 Subject: [PATCH] dev: Exclude vtu files from pre-commit fixes --- .pre-commit-config.yaml | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4a77b13b..24f2ab4b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,3 +43,4 @@ repos: rev: v0.0.282 hooks: - id: ruff +- exclude: \.*vtu$ diff --git a/pyproject.toml b/pyproject.toml index 3c0732ca..9a85eed9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -88,4 +88,4 @@ exclude = [ ] [tool.ruff.per-file-ignores] "src/pydrex/__init__.py" = ["F401", "E501"] # Don't complain about unused imports or long lines in __init__.py file. -"tests/" = ["E501"] # Don't complain about long lines in test files. +"tests/test_scsv.py" = ["E501"] # Don't complain about long lines here.