Skip to content

tests: run lint on pull requests #5

tests: run lint on pull requests

tests: run lint on pull requests #5

Workflow file for this run

---
name: "lint"
# yamllint disable-line rule:truthy
on:
pull_request:
branches:
- '*'
push:
branches:
- 'main'
- 'master'
jobs:
lint:
name: lint
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
cache: "pip"
- run: pip install -r release-requirements.txt
- run: flake8 --ignore=E501,E203,W503
- run: black .
- run: rst-lint README.rst