Skip to content

Add yaml file types for linting and validation #426

Add yaml file types for linting and validation

Add yaml file types for linting and validation #426

Workflow file for this run

name: Style
on:
push:
branches:
- main
- 'version-**'
pull_request:
jobs:
check-style:
timeout-minutes: 15
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install .
pip install -r dev-requirements.txt
- name: Run black
uses: psf/black@stable
- name: Run isort
run: |
isort --check komodo tests
- name: Lint with flake8
run: |
flake8 --max-line-length 88
- name: pylint
run: |
pylint komodo tests