From 04343a5541a2330285674bf0afd78dd26093d012 Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Wed, 17 Jan 2024 11:59:49 +0100 Subject: [PATCH] [pre-commit] Add argument --show-source to ruff. --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c5964b7494f..19c07b0ec06 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -84,6 +84,7 @@ repos: hooks: - id: ruff types_or: [python, pyi, jupyter] + args: [--show-source] # Enable on demand, run with # pre-commit run --all-files clang-format # -- GitLab