Refactor to use the sdc_aws_utils python library and remove redundent code (v2) #41
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will install Python dependencies, run tests, run linting, and test building docs | |
name: Codestyle and Linting | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install flake8 black | |
- name: Lint Code with Black | |
run: | | |
black --check --diff lambda_function | |
- name: Lint Code with Flake | |
run: | | |
flake8 --count --max-line-length 88 lambda_function | |