diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 5692a7c9634df724ad4c9a52d970aea538a82aad..907f6ae24409557adc6c7b47e3f8d577f9140307 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,3 +1,5 @@
+exclude: ^swh/deposit/tests/data/atom/.*$
+
 repos:
   - repo: https://github.com/pre-commit/pre-commit-hooks
     rev: v4.3.0