mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-04 08:49:42 +08:00
style: ruff-format the two SKILL.md the v1.6.5 reconcile shipped unformatted
This commit is contained in:
@@ -83,6 +83,7 @@ doc.save("out.docx")
|
||||
check = Document("out.docx")
|
||||
assert check.paragraphs, "generated DOCX has no paragraphs"
|
||||
import zipfile
|
||||
|
||||
with zipfile.ZipFile("out.docx") as package:
|
||||
assert package.testzip() is None, "generated DOCX has a corrupt ZIP member"
|
||||
```
|
||||
|
||||
@@ -107,6 +107,7 @@ wb.save("out.xlsx")
|
||||
check = load_workbook("out.xlsx", data_only=False)
|
||||
assert check.sheetnames, "generated workbook has no worksheets"
|
||||
import zipfile
|
||||
|
||||
with zipfile.ZipFile("out.xlsx") as package:
|
||||
assert package.testzip() is None, "generated XLSX has a corrupt ZIP member"
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user