1
0
mirror of synced 2024-11-24 15:40:19 +01:00
Retrieval-based-Voice-Conve.../.github/workflows/black.yml

17 lines
425 B
YAML
Raw Normal View History

2023-04-15 05:00:19 +02:00
name: Black
on: [push, pull_request]
jobs:
format_code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: pip install --upgrade pip
- run: pip install black[jupyter]
- run: black $(git ls-files '*.py' 'ipynb')