Repository navigation
Fix bm_fastapi benchmark failing with httpx.PoolTimeout under load
#635
Workflow file for this run
This file contains hidden or 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: mypy | ||
| on: [push, pull_request, workflow_dispatch] | ||
| permissions: | ||
| contents: read | ||
| env: | ||
| FORCE_COLOR: 1 | ||
| TERM: xterm-256color # needed for FORCE_COLOR to work on mypy on Ubuntu, see https://github.com/python/mypy/issues/13817 | ||
| jobs: | ||
| mypy: | ||
| name: Check code with mypy | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| persist-credentials: false | ||
| - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 | ||
| with: | ||
| cache: "pip" | ||
| cache-dependency-path: "pyproject.toml" | ||
| python-version: "3.11" | ||
| - run: pip install -e .[dev] | ||
| - run: pip freeze --all | ||
| - run: mypy | ||