Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- run: pip install black
- run: pip install "black==26.5.1"
- run: black --check RiskLabAI test

lint:
Expand All @@ -71,5 +71,5 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- run: pip install ruff
- run: pip install "ruff==0.15.17"
- run: ruff check RiskLabAI test
1 change: 1 addition & 0 deletions RiskLabAI/ensemble/bagging_classifier_accuracy.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
as described in "Advances in Financial Machine Learning" by de Prado (2018),
Chapter 6, Section 6.2, p. 86.
"""

# import numpy as np <-- Removed unused import
from scipy.stats import binom

Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ dev = [
"torchvision", # Often needed with torch
"torchaudio", # Often needed with torch
"pytest",
# Linters pinned to match CI exactly (.github/workflows/ci.yml).
"black==26.5.1",
"ruff==0.15.17",
]
all = [
"RiskLabAI[pde]",
Expand Down
Loading