Skip to content

Configure Pytests on Feature Flags #57

Configure Pytests on Feature Flags

Configure Pytests on Feature Flags #57

Workflow file for this run

name: Run Lint
on:
workflow_dispatch:
pull_request:
branches:
- main
- release/*
- main-v2
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install Requirements
run: |
python -m pip install --upgrade pip
python -m pip install isort
python -m pip install flake8
- name: Lint
run: python -m flake8 --exclude cdk.out,blueprints --ignore E402,E501,F841,W503,F405,F403,F401,E712,E203 backend/