mirror of
https://github.com/astral-sh/ruff
synced 2026-01-09 07:34:06 -05: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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user