1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-06-06 05:51:17 +08:00

Add pre-commit

This commit is contained in:
Young
2022-03-18 16:42:18 +08:00
committed by you-n-g
parent e229b567ad
commit 243e516cf1
2 changed files with 6 additions and 0 deletions

5
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,5 @@
repos:
- repo: https://github.com/psf/black
rev: 22.1.0
hooks:
- id: black

View File

@@ -132,6 +132,7 @@ setup(
"pytest>=3",
"sphinx",
"sphinx_rtd_theme",
"pre-commit",
]
},
include_package_data=True,