Skip to content

extractor: Add list based lookups #2225

extractor: Add list based lookups

extractor: Add list based lookups #2225

Workflow file for this run

name: Lints and Typecheck
on: [pull_request]
jobs:
checks:
runs-on: ubuntu-latest
name: Lints and typecheck
steps:
- name: Check out source repository
uses: actions/checkout@v3
- name: Set up Python environment
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install aspell for pyspelling
run: sudo apt-get install -y aspell
- name: Upgrade pip
run: pip install --upgrade pip
- name: Install packages
run: pip install "flake8>=4.0.1" "black>=22.6.0" "mypy==0.981" "pyspelling>=2.8.2" # install 0.981 of mypy since future versions seem to be not working with `--exclude`
- name: flake8 lint
run: flake8 .
- name: black lint
run: black --diff --check .
- name: mypy typechecking
run: mypy .
- name: spellcheck
run: pyspelling