Skip to content

Fix linters

Fix linters #480

Workflow file for this run

name: Linters
on:
push:
pull_request:
jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black codespell
- name: Check with black
run: black --check .
codespell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: codespell-project/actions-codespell@master
with:

Check failure on line 26 in .github/workflows/lint.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/lint.yaml

Invalid workflow file

You have an error in your yaml syntax on line 26
skip: '*.po',encoding_latin1.py
ignore_words_list: ba,te,deltion,dedent,dedented,assertIn
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mypy
pip install -r requirements.txt
pip install urwid twisted watchdog "jedi >=0.16" babel "sphinx >=1.5" numpy
pip install types-backports types-requests types-setuptools types-toml types-pygments
- name: Check with mypy
# for now only run on a few files to avoid slipping backward
run: mypy