Skip to content

🧹 Install pre-commit and fixes lint errors #175

🧹 Install pre-commit and fixes lint errors

🧹 Install pre-commit and fixes lint errors #175

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
paths-ignore:
- docs/**
- .github/workflows/docs.yml
pull_request:
branches: [ main ]
paths-ignore:
- docs/**
- .github/workflows/docs.yml
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: pip install -e .[test]
- name: Lint with pre-commit
run: pre-commit run --all-files