Skip to content

Refactor type annotations and improve readability in orka_cli.py, eve… #10

Refactor type annotations and improve readability in orka_cli.py, eve…

Refactor type annotations and improve readability in orka_cli.py, eve… #10

Workflow file for this run

name: Lint
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install linting dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 mypy>=1.17.0 types-redis types-PyYAML types-requests types-psutil
pip install -e .
- name: Run flake8 (critical errors)
run: |
flake8 orka --count --select=E9,F63,F7,F82 --show-source --statistics
- name: Run mypy
run: |
mypy orka