Skip to content

add basic ruff linting/formatting #1166

add basic ruff linting/formatting

add basic ruff linting/formatting #1166

Workflow file for this run

---
name: lint
on:
push:
paths-ignore:
- '**.md'
- '**.cff'
- 'setup.py'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[test] pylint
- name: pylint
run: |
pylint -v --recursive=True aisdc.safemodel aisdc.attacks tests --fail-under 10
...