Skip to content

removed unused imports; added threaded notes #18

removed unused imports; added threaded notes

removed unused imports; added threaded notes #18

Workflow file for this run

name: Lint
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repository code
uses: actions/checkout@v4
# Setup Python (faster than using Python container)
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dev dependencies
run: pip install -r requirements-dev.txt
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run black
run: black --check src/ unit_tests/
- name: Run flake8
run: flake8 src/ unit_tests/
- name: Run isort
run: isort --check .
- name: Run pyright
run: pyright src/