Skip to content

finally configure linter in ci #1

finally configure linter in ci

finally configure linter in ci #1

Workflow file for this run

name: Lint
on: ["push", "pull_request"]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@master
- name: set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry
python -m poetry install --only dev
- name: Run linters
run: |
poetry run isort --check --diff .
poetry run ruff check .
poetry run flake8 .