Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

'Refactored by Sourcery' #110

'Refactored by Sourcery'

'Refactored by Sourcery' #110

Workflow file for this run

name: lint_python
on: [push, pull_request]
jobs:
lint_python:
runs-on: ubuntu-latest
steps:
- name: Cache
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-${{ matrix.python-version }}-pip-
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- name: Lint with flake8
run: |
pip install flake8
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=88 --statistics