Skip to content

refactor: enforce privacy policy - remove unfinished code and interna… #4

refactor: enforce privacy policy - remove unfinished code and interna…

refactor: enforce privacy policy - remove unfinished code and interna… #4

Workflow file for this run

name: Lint
on:
pull_request:
push:
branches: [ main ]
jobs:
lint:
name: Lint (flake8, black --check, isort --check)
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.12']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install tools
run: |
python -m pip install --upgrade pip
python -m pip install flake8 black isort
- name: Black check
run: |
python -m black --check .
- name: Isort check
run: |
python -m isort --check-only .
- name: Flake8
run: |
python -m flake8 src tests