Skip to content

ci: fix (2)

ci: fix (2) #3

Workflow file for this run

name: Lint
on:
push:
paths:
- '**.py'
- '.github/workflows/lint.yml'
- 'pyproject.toml'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install hatchling -y
pip install '.[dev]'
- name: Lint with pylint
run: |
pylint $(git ls-files '*.py')
- name: Check typing with mypy
run: |
mypy