Skip to content

Fix all ruff lint errors for CI #4

Fix all ruff lint errors for CI

Fix all ruff lint errors for CI #4

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -e ".[dev]"
- name: Run unit tests with coverage
run: pytest tests/unit --cov=trusteval --cov-report=xml -v
- name: Lint with ruff
run: ruff check trusteval/
- name: Type check with mypy
run: mypy trusteval/ --ignore-missing-imports
- name: Security scan with bandit
run: bandit -r trusteval/ -ll