Skip to content

Added bot to allowed_bots list. #48

Added bot to allowed_bots list.

Added bot to allowed_bots list. #48

Workflow file for this run

name: Code quality
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
code-quality:
strategy:
matrix:
python: ["3.9","3.10", "3.11", "3.12", "3.13"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install
run: python3 -m pip install .
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
python3 -m pip install mypy
- name: Run compileall
run: python3 -m compileall src
# Only run black on Python 3.11 to avoid version inconsistencies
# (black 26.x requires Python 3.10+)
- name: Install black
if: matrix.python == '3.11'
run: python3 -m pip install black
- name: Run black
if: matrix.python == '3.11'
run: python3 -m black --check src