Skip to content

Add flake8-trio

Add flake8-trio #327

Workflow file for this run

name: Lint
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: "0 12 * * 6"
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: "true"
- name: Set up Python 3.9
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
with:
python-version: "3.9"
- name: install prerequisites
run: |
python -m pip install --upgrade pip wheel
python -m pip install -r ./piped/python/base-requirements/nox.txt
- name: Lint markup
run: python -m nox -s verify-markup
- name: Check spelling
run: python -m nox -s spell-check
- name: Lint with flake8
run: python -m nox -s flake8
- name: Check slotting
run: python -m nox -s slot-check