Skip to content

Simplify DescribeImageUtililty run and arun logic #411

Simplify DescribeImageUtililty run and arun logic

Simplify DescribeImageUtililty run and arun logic #411

Workflow file for this run

name: Linting
on:
push:
branches: [main]
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install lint dependencies
run: |
python -m pip install --upgrade pip
pip install pipenv
pip install flake8
pip install pylint
pip install yamllint
- name: Install project dependencies
run: |
pip install poetry
poetry install
- name: Lint with flake8
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --count --exit-zero --max-complexity=10 \
--max-line-length=127 --statistics
- name: Lint with pylint
run: |
pylint ./bot --exit-zero
- name: Lint YAML files
run: |
yamllint .