Skip to content

Bump python to 3.9 and fixed files with pre-commits #13

Bump python to 3.9 and fixed files with pre-commits

Bump python to 3.9 and fixed files with pre-commits #13

Workflow file for this run

name: Check linters
on:
push:
branches:
- main
- 'feature/*'
- '[0-9]*-*[a-zA-Z]*' # regex should match typical issue branches names
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry==1.8.1
poetry install --no-root
- name: Run isort
run: |
poetry run isort --check-only .
- name: Run black
run: |
poetry run black --check .
- name: Run pylint
run: |
poetry run pylint --recursive y .