feat(models): add backtesting helpers (#2) #15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Linters | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| quality: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| activate-environment: true | |
| python-version: "3.13" | |
| - name: install dependencies | |
| run: uv pip install -e ".[dev]" | |
| - name: Run formatter check with Black | |
| run: uv run black --check . | |
| - name: Lint with Ruff | |
| run: uv run ruff check . | |
| - name: Type check with mypy | |
| run: uv run mypy src |