Skip to content

upgrade sphinx dependents #913

upgrade sphinx dependents

upgrade sphinx dependents #913

Workflow file for this run

# This workflow will install Python dependencies and lint with a variety of Python versions
name: Python lint
on: [ push, pull_request ]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10" ] # some issue when setup "3.6", so remove it for now
steps:
- uses: actions/checkout@v2
- uses: codespell-project/actions-codespell@master
with:
ignore_words_list: datas
skip: "*.js,*.po,i18n.ts,*.json"
- 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 -e ".[all]"
- name: Lint with flake8
run: |
pip install flake8
flake8 --ignore=E126,E127,E128,E131,E226,E402,E731,F401,F403,F405,W291,W292,W293 \
--max-complexity=32 --max-line-length=525 --show-source --statistics .