diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/lint/all-lint.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/test/lint/all-lint.py b/test/lint/all-lint.py index c280ba2db2..34a7b9742a 100755 --- a/test/lint/all-lint.py +++ b/test/lint/all-lint.py @@ -13,11 +13,10 @@ from subprocess import run exit_code = 0 mod_path = Path(__file__).parent -for lint in glob(f"{mod_path}/lint-*"): - if lint != __file__: - result = run([lint]) - if result.returncode != 0: - print(f"^---- failure generated from {lint.split('/')[-1]}") - 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 exit(exit_code) |