mirror of
https://kkgithub.com/chinese-poetry/chinese-poetry.git
synced 2026-09-13 09:04:52 +00:00
Compare commits
1 Commits
master
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7395e8a40a |
@@ -31,10 +31,9 @@ class PlainDataLoader():
|
||||
body += poem[tag]
|
||||
return body
|
||||
# a dir, probably with a skip list
|
||||
excludes = set(configs.get("excludes", []))
|
||||
subpaths = sorted(os.listdir(full_path))
|
||||
subpaths = os.listdir(full_path)
|
||||
for filename in subpaths:
|
||||
if filename in excludes:
|
||||
if filename in configs["excludes"]:
|
||||
continue
|
||||
with open(os.path.join(full_path, filename), mode='r', encoding='utf-8') as file:
|
||||
data = json.load(file)
|
||||
|
||||
@@ -1 +1 @@
|
||||
pytest==5.3.2
|
||||
pytest==9.0.3
|
||||
|
||||
Reference in New Issue
Block a user