mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-14 08:16:54 +08:00
add_pre-commit_and_flake8_to_CI
This commit is contained in:
committed by
you-n-g
parent
243e516cf1
commit
30e457119c
@@ -146,7 +146,7 @@ class RecordTemp:
|
||||
|
||||
for item in self.list():
|
||||
ps = self.get_path(item).split("/")
|
||||
dirn, fn = "/".join(ps[:-1]), ps[-1]
|
||||
dirn = "/".join(ps[:-1])
|
||||
if self.get_path(item) not in _get_arts(dirn):
|
||||
raise FileNotFoundError
|
||||
if parents:
|
||||
|
||||
Reference in New Issue
Block a user