Skip to content

lint_python.yml: ruff --output-format=github . #148

lint_python.yml: ruff --output-format=github .

lint_python.yml: ruff --output-format=github . #148

Workflow file for this run

name: lint_python
on: [pull_request, push]
jobs:
lint_python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
check-latest: true
- run: pip install --upgrade pip setuptools wheel
- run: pip install black codespell mypy pytest ruff safety
- run: ruff --output-format=github .
- run: black --check . || true
- run: codespell # --ignore-words-list="" --skip="*.css,*.js,*.lock"
- run: pip install -r requirements-test.txt
- run: pip install --editable .
- run: mkdir --parents --verbose .mypy_cache
- run: mypy --ignore-missing-imports --install-types --non-interactive . || true
- run: pytest
- run: safety check