Skip to content

Move linting into its own workflow #3

Move linting into its own workflow

Move linting into its own workflow #3

Workflow file for this run

---
name: "linting - all"
on:
pull_request:
push:
branches:
- "main"
jobs:
lint:
name: "linting (python)"
runs-on: "ubuntu-latest"
steps:
- name: "Check out repository"
uses: "actions/checkout@v2"
with:
submodules: 'true'
- name: "Set up Python"
uses: "actions/setup-python@v2"
with:
python-version: "3.10"
- name: "install linting tooling"
continue-on-error: true
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements/local.txt ; pylint **/*.py
- name: "run linting via tox"
run: |
tox -e linting