Skip to content

Merge pull request #2 from openobserve/fix/lazy-exporter-imports #20

Merge pull request #2 from openobserve/fix/lazy-exporter-imports

Merge pull request #2 from openobserve/fix/lazy-exporter-imports #20

Workflow file for this run

name: Lint & Format
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -e ".[dev]"
- name: Check code formatting with ruff
run: ruff format --check .
- name: Lint with ruff
run: ruff check .
- name: Type check with mypy
run: mypy openobserve