/
ai-forever
/
diffusers
Обзор
Документация
Войти
/
ai-forever
/
diffusers
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
main
.github/workflows/pr_quality.yml
49 строк
1 KB
Kashif Rasul
[Styling] stylify using ruff (#5841)
20 ноя 2023, 13:48
Не верифицирован
20 ноя 2023, 13:48
6b04d61
Код
Авторство
О чём код?
name: Run code quality checks on: pull_request: branches: - main push: branches: - main concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} cancel-in-progress: true jobs: check_code_quality: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Set up Python uses: actions/setup-python@v4 with: python-version: "3.8" - name: Install dependencies run: | python -m pip install --upgrade pip pip install .[quality] - name: Check quality run: | ruff check examples tests src utils scripts ruff format examples tests src utils scripts --check check_repository_consistency: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Set up Python uses: actions/setup-python@v4 with: python-version: "3.8" - name: Install dependencies run: | python -m pip install --upgrade pip pip install .[quality] - name: Check quality run: | python utils/check_copies.py python utils/check_dummies.py make deps_table_check_updated