Skip to content

refactor(pysgf): include pysgf code #38

refactor(pysgf): include pysgf code

refactor(pysgf): include pysgf code #38

Workflow file for this run

name: Lint
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{matrix.python-version}}
uses: actions/setup-python@v5
with:
python-version: ${{matrix.python-version}}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 flake8-pytest-style pytype
- name: Analysing the code with flake8
run: flake8 .
- name: Check type hints with pytype
if: ${{ matrix.python-version != '3.12' }}
run: pytype -d import-error .