From cee476e4ba695f4046af578574195029d4797471 Mon Sep 17 00:00:00 2001 From: Sebastien Ponce Date: Wed, 6 Nov 2024 17:13:49 +0100 Subject: [PATCH] Added a check that inputs files don't use directly eos (they should use TestFileDB) --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index eb3b51315..607ce61af 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,6 +16,13 @@ repos: entry: /cvmfs/lhcb.cern.ch/lib/bin/x86_64-almalinux9/lcg-clang-format-8.0.0 -i args: ["-style=file"] require_serial: false + - id: test-inputs-use-testfiledb + name: test inputs use TestFileDB + description: make sure all inputs to test options files are going through FileTestDB + language: pygrep + types_or: [python, yaml] + exclude: ".pre-commit-config.yaml" + entry: 'eoslhcb.cern.ch//eos/lhcb/' - repo: https://github.com/pre-commit/mirrors-yapf rev: v0.24.0 hooks: -- GitLab