Skip to content

version 1.1.5

version 1.1.5 #188

name: Linting
on: [push]
jobs:
Linting:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: Actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: Actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff==0.0.267
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with ruff
run: |
# default set of ruff rules with GitHub Annotations
ruff --format=github --ignore=I001,W291,E501,S311,A002,FBT001,S603,S606,S607 --target-version=py37 src