chore(deps): Bump urllib3 from 2.0.3 to 2.0.6 #27
Workflow file for this run
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: lint_python | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
jobs: | |
ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: pip install --user ruff | |
- run: ruff --format=github --target-version=py37 . | |
lint_python: | |
needs: ruff | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install poetry | |
run: pipx install poetry | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
cache: 'poetry' | |
- run: pip install --upgrade pip wheel | |
- run: poetry install --with=dev | |
- run: poetry run black --check . | |
- run: poetry run codespell src/ tests/ *.md *.py # --ignore-words-list="" --skip="*.css,*.js,*.lock" | |
- run: mkdir --parents --verbose .mypy_cache | |
- run: poetry run mypy --ignore-missing-imports --install-types --non-interactive . | |
- run: poetry run safety check | |
- run: cp config.sample.py config.py | |
- run: poetry run pytest . |