Skip to content

Improve yaml config file validation and linting #396

Improve yaml config file validation and linting

Improve yaml config file validation and linting #396

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