Skip to content

Add type error suppressions for upcoming upgrade #394

Add type error suppressions for upcoming upgrade

Add type error suppressions for upcoming upgrade #394

Workflow file for this run

name: CI
on: [push, pull_request]
# Run linter with github actions for quick feedbacks.
# The unittests will be run on CircleCI instead.
jobs:
linter:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.8, 3.9] # importlib-metadata v5 requires 3.8+
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8==3.8.1 flake8-bugbear flake8-comprehensions isort==4.3.21
pip install black==24.2.0
flake8 --version
- name: Lint
run: |
echo "Running isort"
isort -c -sp .
echo "Running black"
black --check .
echo "Running flake8"
flake8 .