Update interface #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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" | |
- 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 |