Skip to content

YDA-5992: rearrange admin scripts #6108

YDA-5992: rearrange admin scripts

YDA-5992: rearrange admin scripts #6108

Workflow file for this run

name: "Python lint"
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ['3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8==6.0.0 flake8-import-order==0.18.2 darglint==1.8.1 codespell types-requests
- name: Lint with flake8
run: |
flake8 --statistics
- name: Check code for common misspellings
run: |
codespell -q 3 --skip="*.r,*.xsd,*.json" || true
- name: Check McCabe complexity
run: |
flake8 --max-complexity 10 || true