1
0
mirror of synced 2024-11-24 07:30:16 +01:00
Retrieval-based-Voice-Conve.../.github/workflows/black.yml
2023-04-15 12:00:19 +09:00

17 lines
425 B
YAML

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')