Skip to content

Merge pull request #221 from knrdl/dependabot/npm_and_yarn/client/sve… #202

Merge pull request #221 from knrdl/dependabot/npm_and_yarn/client/sve…

Merge pull request #221 from knrdl/dependabot/npm_and_yarn/client/sve… #202

Workflow file for this run

name: Code Format
on:
push:
branches:
- main
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 flake8-bandit flake8-bugbear flake8-builtins flake8-comprehensions flake8-deprecated flake8-isort flake8-print flake8-quotes flake8-todo
- name: Check linting
run: |
echo -e "[settings]\nline_length=179" > .isort.cfg
python -m flake8 --max-line-length 179 .