Skip to content

Merge pull request #22 from pyt-team/ninamiolane-sphinx #59

Merge pull request #22 from pyt-team/ninamiolane-sphinx

Merge pull request #22 from pyt-team/ninamiolane-sphinx #59

Workflow file for this run

name: "Lint"
on:
push:
branches: [main,github-actions-test]
pull_request:
branches: [main]
jobs:
build:
runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.10.11]
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Linting
uses: actions/setup-python@v4
with:
python-version: ${{matrix.python-version}}
cache: "pip"
cache-dependency-path: "pyproject.toml"
- name: install dependencies [pip]
run: |
pip install --upgrade pip setuptools wheel
pip install -e .[dev]
- name : linting [black, isort, flake8]
run: |
black . --check --extend-exclude 'examples'
isort --profile black --check .
flake8 .