Skip to content

new project structure #9

new project structure

new project structure #9

Workflow file for this run

name: Lint package
on:
workflow_call:
pull_request:
types: [ opened, synchronize, reopened, ready_for_review ]
jobs:
lint:
name: Run linters
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.11" ]
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: chartboost/ruff-action@v1
- name: Run mypy
uses: sasanquaneuf/mypy-github-action@releases/v1
with:
checkName: 'lint' # NOTE: this needs to be the same as the job name
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}