Replace lint tools with Ruff #169
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: lint | |
| on: [pull_request, push, workflow_dispatch] | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.x" | |
| - uses: tox-dev/action-pre-commit-uv@v1 | |
| lint_python: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| - run: pip install --upgrade pip | |
| - run: pip install black codespell flake8 flake8-bugbear mypy | |
| - run: black --check . || true | |
| - run: codespell # --ignore-words-list="" --skip="*.css,*.js,*.lock" | |
| - run: pip install -r requirements.txt | |
| - run: mkdir --parents --verbose .mypy_cache | |
| - run: mypy --ignore-missing-imports --install-types --non-interactive . || true |