recipes: Remove fnmatch from lint exceptions
The fnmatch module is being allowed with http://crrev.com/c/4721009.
Change-Id: Iedb66143be9cd8e1f5c32249c9369e2965e7f6c1
Reviewed-on: https://pigweed-review.googlesource.com/c/infra/recipes/+/159831
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
Reviewed-by: Ted Pudlik <tpudlik@google.com>
diff --git a/recipes/recipes.expected/cq_try.json b/recipes/recipes.expected/cq_try.json
index 308d5f3..1cea0fd 100644
--- a/recipes/recipes.expected/cq_try.json
+++ b/recipes/recipes.expected/cq_try.json
@@ -1699,7 +1699,7 @@
"[START_DIR]/co/recipes.py",
"lint",
"--allowlist",
- "configparser|fnmatch|io|urllib|xml"
+ "configparser|io|urllib|xml"
],
"cwd": "[START_DIR]/co",
"luci_context": {
diff --git a/recipes/recipes.py b/recipes/recipes.py
index bc681a8..32ef789 100644
--- a/recipes/recipes.py
+++ b/recipes/recipes.py
@@ -112,7 +112,7 @@
with api.step.defer_results():
api.recipe_testing.run_lint(
- checkout.root, allowlist='configparser|fnmatch|io|urllib|xml',
+ checkout.root, allowlist='configparser|io|urllib|xml',
)
api.recipe_testing.run_unit_tests(checkout.root)