test: speed up test_main_isort.py
#1238
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: mypy | |
on: push # yamllint disable-line rule:truthy | |
jobs: | |
mypy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- run: | | |
uv pip install --system -U \ | |
black \ | |
git+https://github.com/akaihola/darkgraylib.git@module-scope-git-repo-fixture \ | |
flynt \ | |
isort \ | |
mypy>=0.990 \ | |
pytest \ | |
types-requests \ | |
types-toml | |
- uses: wearerequired/lint-action@v2.3.0 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
mypy: true | |
mypy_args: "src" | |
continue_on_error: false |