lewtun's picture
lewtun HF staff
Add quality
79d85b6
raw
history blame contribute delete
593 Bytes
name: Code quality
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
check_code_quality:
name: Check code quality
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Python environment
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install black isort flake8
- name: Code quality
run: |
make quality