Skip to content

Bump urllib3 from 1.26.16 to 1.26.18 #24

Bump urllib3 from 1.26.16 to 1.26.18

Bump urllib3 from 1.26.16 to 1.26.18 #24

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python application
on:
push:
pull_request:
permissions:
contents: read
jobs:
build:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
poetry-version: ["1.5.1"]
os: [ubuntu-18.04, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip pipx
poetry install
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
pipx run flake8 *.py --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
pipx run flake8 *.py --count --exit-zero --max-complexity=64 --max-line-length=127 --statistics
- name: Black
run: |
pipx run black *.py