mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 18:58:04 +00:00
![]() * Don't assume unique repo names in ecosystem checks This fixes a bug where previously repositories with the same name would have been overwritten. I tested with `scripts/check_ecosystem.py -v --checkouts target/checkouts_main .venv/bin/ruff target/release/ruff` and ruff 0.0.267 that changes are shown. I confirmed with `scripts/ecosystem_all_check.sh check --select RUF008` (next PR) that the checkouts are now complete. * Make ecosystem all check more generic This allows passing arguments to the ecosystem all check script, e.g. you can now do `scripts/ecosystem_all_check.sh check --select RUF008`. Tested with ``` $ cat target/ecosystem_all_results/*.stdout.txt | head src/fi_parliament_tools/parsing/data_structures.py:33:17: RUF008 Do not use mutable default values for dataclass attributes src/fi_parliament_tools/parsing/data_structures.py:76:17: RUF008 Do not use mutable default values for dataclass attributes src/fi_parliament_tools/parsing/data_structures.py:178:17: RUF008 Do not use mutable default values for dataclass attributes Found 3 errors. braid_triggers/tasks.py:46:17: RUF008 Do not use mutable default values for dataclass attributes Found 1 error. src/boards/RaspberryPi3.py:15:22: RUF008 Do not use mutable default values for dataclass attributes src/boards/board.py:21:26: RUF008 Do not use mutable default values for dataclass attributes src/boards/board.py:22:32: RUF008 Do not use mutable default values for dataclass attributes src/boards/board.py:23:37: RUF008 Do not use mutable default values for dataclass attributes $ cat target/ecosystem_all_results/*.stdout.txt | wc -l 115 ``` |
||
---|---|---|
.. | ||
benchmarks | ||
_utils.py | ||
add_plugin.py | ||
add_rule.py | ||
check_docs_formatted.py | ||
check_ecosystem.py | ||
Dockerfile.ecosystem | ||
ecosystem_all_check.py | ||
ecosystem_all_check.sh | ||
ecosystem_all_check_entrypoint.sh | ||
generate_known_standard_library.py | ||
generate_mkdocs.py | ||
pyproject.toml | ||
transform_readme.py | ||
update_ambiguous_characters.py | ||
update_schemastore.py |