mirror of
https://github.com/grpc/grpc.git
synced 2026-01-24 10:53:30 +08:00
[CI] Fix PR AutoFix GitHub action (#40257)
Previously broken by requiring black version that dropped py3.8 support. Gitignore/dockerignore changes made to prevent ruff checking virtualenv directories. Related: - #40256 - #40139
This commit is contained in:
@@ -4,3 +4,5 @@ bazel-out
|
||||
build
|
||||
.cache
|
||||
.git
|
||||
# python virtual environments
|
||||
*/.venv*
|
||||
|
||||
5
.github/workflows/pr-auto-fix.yaml
vendored
5
.github/workflows/pr-auto-fix.yaml
vendored
@@ -68,12 +68,11 @@ jobs:
|
||||
- name: Install Python Interpreter
|
||||
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
||||
with:
|
||||
python-version: 3.8
|
||||
python-version: 3.11
|
||||
- name: Install Python Packages
|
||||
run: |
|
||||
pip install pyyaml mako virtualenv absl-py
|
||||
sudo apt-get update
|
||||
sudo apt-get install python3-dev
|
||||
pip list
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
||||
with:
|
||||
|
||||
5
.gitignore
vendored
5
.gitignore
vendored
@@ -18,11 +18,14 @@ dist/
|
||||
htmlcov/
|
||||
py3*/
|
||||
pyb/
|
||||
python_pylint_venv/
|
||||
src/python/grpcio_*/=*
|
||||
src/python/grpcio_*/build/
|
||||
src/python/grpcio_*/LICENSE
|
||||
src/python/grpcio_status/grpc_status/google/rpc/status.proto
|
||||
.venv
|
||||
# TODO(sergiitk): conform all "named" virtual environments to .venv-*
|
||||
.venv-*
|
||||
python_pylint_venv/
|
||||
black_virtual_environment/
|
||||
isort_virtual_environment/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user