Skip to content

Fix request/protocol order of consumption #1382

Fix request/protocol order of consumption

Fix request/protocol order of consumption #1382

Workflow file for this run

name: Lint
on:
push:
branches:
- "master"
pull_request:
branches:
- "master"
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: Download Pandoc
run: |
wget https://github.com/jgm/pandoc/releases/download/3.1.9/pandoc-3.1.9-linux-amd64.tar.gz
tar xvzf pandoc-3.1.9-linux-amd64.tar.gz --strip-components 2 -C /usr/local/bin
- name: Run black
run: black --check src/ unit_tests/ integration_tests/
- name: Run flake8
run: flake8 src/ unit_tests/ integration_tests/
- name: Run isort
run: isort --check .
- name: Run mypy
run: mypy src
- name: Build docs
run: |
cd docs
make html