There was an error while loading. Please reload this page.
1 parent 9e179aa commit 0da173aCopy full SHA for 0da173a
2 files changed
.github/workflows/ci.yaml
@@ -467,7 +467,6 @@ jobs:
467
- name: Check for redundant test patches
468
run: python scripts/check_redundant_patches.py
469
470
- - uses: actions/checkout@v6.0.2
471
- uses: dtolnay/rust-toolchain@stable
472
with:
473
components: clippy
scripts/check_redundant_patches.py
@@ -18,7 +18,7 @@ def main():
18
try:
19
tree = ast.parse(contents)
20
except SyntaxError:
21
- pass
+ continue
22
23
for node in ast.walk(tree):
24
if not isinstance(node, (ast.FunctionDef, ast.AsyncFunctionDef)):
0 commit comments