Skip to content

reusable lint and test #1

reusable lint and test

reusable lint and test #1

Workflow file for this run

name: Linting

Check failure on line 1 in .github/workflows/linting.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/linting.yaml

Invalid workflow file

`jobs` is not a valid event name
on:
workflow_call:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v2
with:
python-version: '3.9'
cache: 'poetry'
- name: pydocstyle
run: poetry run pydocstyle --convention=google
- name: isort
run: poetry run isort . --check
- name: black
run: poetry run black . --check
- name: flake8
run: poetry run flake8 . --ignore E501,F401,W503 --count
continue-on-error: True