Skip to content

Merge pull request #76 from asfadmin/dependabot/pip/boto3-1.35.72 #84

Merge pull request #76 from asfadmin/dependabot/pip/boto3-1.35.72

Merge pull request #76 from asfadmin/dependabot/pip/boto3-1.35.72 #84

name: Static code analysis
on: push
jobs:
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
- run: |
python -m pip install --upgrade pip
python -m pip install flake8 flake8-import-order flake8-builtins # FIXME add flake8-blind-except
- run: flake8 --max-line-length=120 --import-order-style=pycharm --statistics --application-import-names reformat
cfn-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: scottbrenner/cfn-lint-action@v2
with:
command: cfn-lint --info --ignore-checks W3002 --template **/cloudformation.yml