Fix pre-commit config.
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 7b87775..1bffc6a 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,5 +1,5 @@
 -   repo: git@github.com:pre-commit/pre-commit-hooks
-    sha: 8aa14d218d0fe5a2c486498269b3e37d3ba5aad2
+    sha: bec87f6c87284ea15dbcf7801810404c8036bab4
     hooks:
     -   id: pyflakes
         files: \.py$
@@ -8,13 +8,13 @@
     -   id: trailing-whitespace
         files: \.(py|sh|yaml)$
     -   id: name-tests-test
-        files: tests/.*\.py
+        files: tests/.+\.py$
     -   id: end-of-file-fixer
         files: \.(py|sh|yaml)$
 -   repo: git@github.com:pre-commit/pre-commit
-    sha: c300a11a973e0e2d88662aef4b282881d0f17b4a
+    sha: c62c1a3b513ab9e057e85a5e950bd7c438371076
     hooks:
     -   id: validate_manifest
-        files: /manifest.yaml
+        files: ^hooks.yaml$
     -   id: validate_config
-        files: /\.pre-commit-config.yaml
+        files: ^\.pre-commit-config.yaml$