Skip to content

Merge pull request #290 from tky823/release/v0.2.0 #614

Merge pull request #290 from tky823/release/v0.2.0

Merge pull request #290 from tky823/release/v0.2.0 #614

Workflow file for this run

name: lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ".[dev]"
- name: Run linters
run: |
# See pyproject.toml
isort --line-length 100 ssspy tests
flake8 --max-line-length=100 --ignore=E203,W503,W504 --exclude ssspy/_version.py ssspy tests
- name: Run formatters
run: |
python -m black --config pyproject.toml --check ssspy tests