Skip to content

build(deps): bump urllib3 from 1.26.8 to 1.26.17 #611

build(deps): bump urllib3 from 1.26.8 to 1.26.17

build(deps): bump urllib3 from 1.26.8 to 1.26.17 #611

name: Python style checker
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
style-checker:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
- name: Lint with Flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The Black line length is 88 characters long by default
flake8 . --count --max-complexity=10 --select=B950 --extend-ignore=E501 --max-line-length=88 --statistics