mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-26 20:09:22 +00:00
Rename Autofix
to Fix
(#7657)
**Summary** Mostly mechanical symbol rename and search-and-replace, with small changes to the markdown docs to read better
This commit is contained in:
parent
8028de8956
commit
1e173f7909
231 changed files with 943 additions and 960 deletions
|
@ -1,5 +1,5 @@
|
|||
"""This is @konstin's scripts for checking an entire checkout of ~2.1k packages for
|
||||
panics, autofix errors and similar problems.
|
||||
panics, fix errors and similar problems.
|
||||
|
||||
It's a less elaborate, more hacky version of check_ecosystem.py
|
||||
"""
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# This is @konstin's setup for checking an entire checkout of ~3k packages for
|
||||
# panics, autofix errors and similar problems.
|
||||
# panics, fix errors and similar problems.
|
||||
#
|
||||
# We put this in a docker container because processing random scraped code from GitHub is
|
||||
# [kinda dangerous](https://moyix.blogspot.com/2022/09/someones-been-messing-with-my-subnormals.html)
|
||||
|
@ -28,7 +28,7 @@ time docker run --rm -it \
|
|||
-v "${SCRIPT_DIR}/ecosystem_all_check.py:/app/ecosystem_all_check.py" \
|
||||
python:3.11 ./ecosystem_all_check_entrypoint.sh "$@"
|
||||
|
||||
# grep the autofix errors
|
||||
grep -R "the rule codes" "${SCRIPT_DIR}/../target/ecosystem_all_results" | sort > "${SCRIPT_DIR}/../target/autofix-errors.txt"
|
||||
# grep the fix errors
|
||||
grep -R "the rule codes" "${SCRIPT_DIR}/../target/ecosystem_all_results" | sort > "${SCRIPT_DIR}/../target/fix-errors.txt"
|
||||
# Make sure we didn't have an early exit
|
||||
echo "Done"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue