ruff/scripts
konsti e769c74899
Check .git in formatter progress checkouts for build (#6387)
From the formatter progress CI logs:
```
2023-08-07T03:49:02.5178602Z + mkdir -p /home/runner/work/ruff/ruff/target/progress_projects
2023-08-07T03:49:02.5193474Z + '[' '!' -d /home/runner/work/ruff/ruff/target/progress_projects/build ']'
2023-08-07T03:49:02.5194228Z + '[' '!' -d /home/runner/work/ruff/ruff/target/progress_projects/django ']'
2023-08-07T03:49:02.5194966Z + git clone --filter=tree:0 https://github.com/django/django /home/runner/work/ruff/ruff/target/progress_projects/django
2023-08-07T03:49:02.5209260Z Cloning into '/home/runner/work/ruff/ruff/target/progress_projects/django'...
```
```
2023-08-07T03:51:17.4726088Z 2023-08-07T03:51:17.472404Z ERROR Failed /home/runner/work/ruff/ruff/target/progress_projects/build: no python files in ["/home/runner/work/ruff/ruff/target/progress_projects/build"]
```

Seems that build exists but is an empty cached folder. These changes
should fix this by a) checking for `.git` instead of just the folder
existing b) running the commit checkout unconditionally. The latter is
also important if we ever want to update the SHAs.
2023-08-08 17:46:46 +02:00
..
benchmarks markdownlint: enforce 100 char max length (#4698) 2023-05-28 22:45:56 -04:00
_utils.py Use __future__ imports in scripts (#5301) 2023-06-22 11:40:16 -04:00
add_plugin.py Port over some fixes from #3747 (#5940) 2023-07-21 03:55:01 +00:00
add_rule.py Create snake_case file if linter is Pylint (#5948) 2023-07-21 22:13:43 -04:00
check_docs_formatted.py Add rule to upgrade type alias annotations to keyword (UP040) (#6289) 2023-08-03 16:13:06 +00:00
check_ecosystem.py Update ecosystem checks for bokeh to 3.3 (#6249) 2023-08-01 11:56:58 -05:00
Dockerfile.ecosystem Remove outdated feature flag from Dockerfile.ecosystem (#4620) 2023-05-24 08:19:08 +00:00
ecosystem_all_check.py Update scripts/ecosystem_all_check.sh (#5737) 2023-07-13 15:25:22 +02:00
ecosystem_all_check.sh Update scripts/ecosystem_all_check.sh (#5737) 2023-07-13 15:25:22 +02:00
ecosystem_all_check_entrypoint.sh Make ecosystem all check more generic (#4629) 2023-05-24 16:26:23 +02:00
formatter_ecosystem_checks.sh Check .git in formatter progress checkouts for build (#6387) 2023-08-08 17:46:46 +02:00
generate_known_standard_library.py Remove HashMap and HashSet for known-standard-library detection (#5345) 2023-06-23 19:59:03 +00:00
generate_mkdocs.py Move some MkDocs responsibilities around (#5542) 2023-07-05 22:06:01 +00:00
pyproject.toml Check for Any in other types for ANN401 (#5601) 2023-07-13 18:19:27 +05:30
transform_readme.py Use __future__ imports in scripts (#5301) 2023-06-22 11:40:16 -04:00
update_ambiguous_characters.py Use match instead of phf for confusable lookup (#5953) 2023-07-24 02:23:36 +00:00
update_schemastore.py Use SSH clones in update_schemastore.py (#5322) 2023-06-23 09:50:10 -04:00