test/lint/lint-all.sh
to test/lint/lint-assertions.py
. It’s an item of #24783.
lint-all.sh
to lint-all.py
#24982
test/lint/lint-all.sh
to test/lint/lint-assertions.py
. It’s an item of #24783.
Converting `lint-all.sh` to `lint-all.py`.
Ack 29f44fed36f45cb827c5e593ce52682a942bc296
This is my first review but the changes seem straightforward enough. Pulled the PR and ensured it ran all lint files as intended. Looks good!
11+from pathlib import Path
12+from subprocess import run
13+
14+exit_code = 0
15+mod_path = Path(__file__).parent
16+for lint in glob(f"{mod_path}/lint-*"):
0for lint in glob(f"{mod_path}/lint-*.py"):
wondering if we can make this py
sys.executable
instead of calling out to python3