1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-15 16:56:54 +08:00

chore(build): rely on integrated setuptools_scm instead of manual call (#2032)

* dont manually call setuptools_scm - its integrated

setuptools_scm automatically set the version attribute - manually setting it wrong

* fix(docs): set fallback version for setuptools-scm to fix autodoc import errors on Read the Docs

---------

Co-authored-by: SunsetWolf <Lv.Linlang@hotmail.com>
This commit is contained in:
Ronny Pfannschmidt
2025-11-10 11:25:04 +01:00
committed by GitHub
parent 66c36226aa
commit ac3fe9476f
4 changed files with 6 additions and 12 deletions

View File

@@ -113,7 +113,7 @@ dev: prerequisite all
# Check lint with black.
black:
black . -l 120 --check --diff
black . -l 120 --check --diff --exclude qlib/_version.py
# Check code folder with pylint.
# TODO: These problems we will solve in the future. Important among them are: W0221, W0223, W0237, E1102