Skip to content

clarification on set up options (#851) #2739

clarification on set up options (#851)

clarification on set up options (#851) #2739

name: check_code_quality
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: '3.7'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black isort flake8
- run: black --check --line-length 119 --target-version py38 promptsource
- run: isort --check-only promptsource
- run: flake8 promptsource --max-line-length 119 --per-file-ignores="__init__.py:F401"