Skip to content

Homework7: Yura Buzinau #10

Homework7: Yura Buzinau

Homework7: Yura Buzinau #10

Workflow file for this run

name: Flake8
on:
workflow_dispatch:
pull_request:
types: [opened, reopened, edited, synchronize]
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: 3.11
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
- name: Analysing the code with flake8
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --max-complexity=10 --max-line-length=100 --statistics