diff options
| author | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 23:11:06 -0500 |
|---|---|---|
| committer | ItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com> | 2026-11-22 23:11:06 -0500 |
| commit | d78ad2da80dc1d8f9e523e3db746ab91dfaee539 (patch) | |
| tree | bde5b516c736c44160c169d828cfc6afac7f935b /tools/progress_dashboard.py | |
| parent | 851e60908172d6c69a1a710b964873f6a51100a3 (diff) | |
| parent | 4316631cd171583ae797c588753e71120182d4cf (diff) | |
Merge pull request #4081 from Markas
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tools/progress_dashboard.py')
| -rw-r--r-- | tools/progress_dashboard.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/progress_dashboard.py b/tools/progress_dashboard.py index 7f1528dfc..9827c48b6 100644 --- a/tools/progress_dashboard.py +++ b/tools/progress_dashboard.py | |||
| @@ -938,6 +938,11 @@ def main(argv=None): | |||
| 938 | ap.add_argument("--repo", default=DEFAULT_REPO, help=f"GitHub repository (default {DEFAULT_REPO})") | 938 | ap.add_argument("--repo", default=DEFAULT_REPO, help=f"GitHub repository (default {DEFAULT_REPO})") |
| 939 | ap.add_argument("--login", help="with --github, show this account's claims and pull requests") | 939 | ap.add_argument("--login", help="with --github, show this account's claims and pull requests") |
| 940 | args = ap.parse_args(argv) | 940 | args = ap.parse_args(argv) |
| 941 | if args.run_tests and args.tests: | ||
| 942 | try: | ||
| 943 | args.tests = re.compile(args.tests) | ||
| 944 | except (re.error, OverflowError, RecursionError) as exc: | ||
| 945 | ap.error(f"--tests: invalid regular expression: {exc}") | ||
| 941 | out_dir = os.path.abspath(args.out) | 946 | out_dir = os.path.abspath(args.out) |
| 942 | if inside(out_dir, ROOT): | 947 | if inside(out_dir, ROOT): |
| 943 | print(f"--out must be outside the repository ({ROOT}): the outputs are never meant to be committed", file=sys.stderr) | 948 | print(f"--out must be outside the repository ({ROOT}): the outputs are never meant to be committed", file=sys.stderr) |