Skip to content
Open
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
5 changes: 4 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
repos:
- repo: https://github.com/psf/black
rev: 23.7.0
# Keep this aligned with the black style CI enforces (`make black`): 23.x disagrees with
# the current repo formatting (e.g. qlib/model/riskmodel/shrink.py) and rewrites files the
# committer never touched. 24.8.0 matches CI's result and still supports Python 3.8.
rev: 24.8.0
hooks:
- id: black
args: ["qlib", "-l 120"]
Expand Down