Index: DEPS |
diff --git a/DEPS b/DEPS |
index a6454087d70938a4800dd03df9df010ba16a223b..6f66359f096cc597427a449e43d3423b2fa686eb 100644 |
--- a/DEPS |
+++ b/DEPS |
@@ -832,4 +832,15 @@ hooks = [ |
"--running-as-hook", |
], |
}, |
+ { |
+ # Ensure that we don't accidentally reference any .pyc files whose |
+ # corresponding .py files have already been deleted. |
+ "name": "remove_stale_pyc_files", |
+ "pattern": "src/tools/.\\.py", |
Dirk Pranke
2014/08/20 01:02:23
I think you probably want "src/tools/.*\\.py" here
|
+ "action": [ |
+ "python", |
+ "src/tools/remove_stale_pyc_files.py", |
+ "src/tools", |
+ ], |
+ }, |
] |