aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-10-23 11:23:28 +0100
committerGravatar Chris Lovering <[email protected]>2023-10-23 11:23:28 +0100
commit0dc8710f41d13e630e20499e66a367fc7e1372fc (patch)
tree4d058c2c566736b1d274737102369d9bee544ece
parentBump ruff to latest (diff)
Lint repo with new ruff rules
-rw-r--r--kubernetes/scripts/lint_manifests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/scripts/lint_manifests.py b/kubernetes/scripts/lint_manifests.py
index 8660608..1196e3f 100644
--- a/kubernetes/scripts/lint_manifests.py
+++ b/kubernetes/scripts/lint_manifests.py
@@ -7,7 +7,7 @@ def get_all_manifests() -> list[str]:
"""Return a list of file paths that look like k8s manifests."""
likely_manifests = []
for file in Path.cwd().glob("**/*.yaml"):
- if file.name in ("secrets.yaml", "ghcr-pull-secrets.yaml"):
+ if file.name in {"secrets.yaml", "ghcr-pull-secrets.yaml"}:
# Don't lint secret files as they're git-crypted
continue
if file.stem.startswith("_"):