mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 05:44:56 +00:00
[ty] Use full project names in good.txt
This commit is contained in:
parent
09f570af92
commit
048182635a
4 changed files with 14 additions and 4 deletions
|
@ -5,7 +5,9 @@ echo "Enabling mypy primer specific configuration overloads (see .github/mypy-pr
|
|||
mkdir -p ~/.config/ty
|
||||
cp .github/mypy-primer-ty.toml ~/.config/ty/ty.toml
|
||||
|
||||
PRIMER_SELECTOR="$(paste -s -d'|' "${PRIMER_SELECTOR}")"
|
||||
# Join the lines (project names) of the file into a large regex
|
||||
# using `|` and escape parentheses.
|
||||
PRIMER_SELECTOR="$(paste -s -d'|' "${PRIMER_SELECTOR}" | sed -e 's@(@\\(@g' -e 's@)@\\)@g')"
|
||||
|
||||
echo "new commit"
|
||||
git rev-list --format=%s --max-count=1 "${GITHUB_SHA}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue