feat: refactor startup process and instrument httpx
#325
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: Formatting and Type Checks | |
on: ["push", "pull_request"] | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install dependencies | |
env: { UV_SYSTEM_PYTHON: true } | |
run: | | |
pip install uv && uv pip install pdm | |
pdm export --pyproject -d | uv pip install -r - | |
- name: Check formatting | |
run: | | |
isort . --check --diff | |
- name: Check imports order | |
run: | | |
black . --check --diff | |
- name: Check typing | |
run: | | |
npx pyright |