Skip to content

Allow all Python 3 versions ≥ 3.7 to install Promptsource (#854) #2746

Allow all Python 3 versions ≥ 3.7 to install Promptsource (#854)

Allow all Python 3 versions ≥ 3.7 to install Promptsource (#854) #2746

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"