Skip to content

Implement packaging using pyproject.toml #148

Implement packaging using pyproject.toml

Implement packaging using pyproject.toml #148

Workflow file for this run

# This workflow will run lint.sh
name: Lint
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9"]
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
python -m pip install "black==22.6.0" "flake8==5.0.4" "usort==1.0.4"
- name: Run linters and formatters
run: |
chmod +x lint.sh
./lint.sh