We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64d72c4 commit f26a496Copy full SHA for f26a496
test/lint/all-lint.py
@@ -13,11 +13,10 @@
13
14
exit_code = 0
15
mod_path = Path(__file__).parent
16
-for lint in glob(f"{mod_path}/lint-*"):
17
- if lint != __file__:
18
- result = run([lint])
19
- if result.returncode != 0:
20
- print(f"^---- failure generated from {lint.split('/')[-1]}")
21
- exit_code |= result.returncode
+for lint in glob(f"{mod_path}/lint-*.py"):
+ result = run([lint])
+ if result.returncode != 0:
+ print(f"^---- failure generated from {lint.split('/')[-1]}")
+ exit_code |= result.returncode
22
23
exit(exit_code)
0 commit comments