diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index c5964b7494f4ee2241b6fb38f05a3107c2cd6422..19c07b0ec06d27ac5cc96cbf407cbcae2d4e27c3 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
   #