removed unused imports; added threaded notes #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |