diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 8b603a7cecbc994a4fbfda7ab19faf4d3fe57995..02f5cd297b709a1269b17e5e5f4701e2221a5c7a 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -54,3 +54,10 @@ repos:
       name: disallow-checksums-update
       entry: bash -c 'if git diff --cached --name-only | grep -q "^checksums"; then echo "Changes to checksums file are not allowed!"; exit 1; fi'
       language: system
+    - 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/'