Skip to content

fix: delete retry instruction before sleep for force stall retry #1702

fix: delete retry instruction before sleep for force stall retry

fix: delete retry instruction before sleep for force stall retry #1702

Workflow file for this run

# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Lint CI
on:
push:
branches: [ main ]
pull_request:
jobs:
psf-black:
name: Format with psf-black
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install Black and ISort
run: pip install black==22.3.0 isort==5.12.0
- name: Sort Imports
run: git ls-files -z -- '*.py' ':!**/*_pb2_grpc.py' ':!**/*_pb2.py' | xargs -0 python3 -m isort --quiet
- name: Format Python Code
run: git ls-files -z -- '*.py' ':!**/*_pb2_grpc.py' ':!**/*_pb2.py' | xargs -0 python3 -m black --quiet
- name: Check Differences After Formatting
run: git diff --ignore-submodules=all --color --exit-code .