We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e70e3cb commit fe2ff79Copy full SHA for fe2ff79
2 files changed
README.md
@@ -1281,7 +1281,7 @@ class PDFDocument(Loadable):
1281
... # Code goes here - omitted for brevity
1282
1283
@classmethod
1284
- def load(cls, name: str):
+ def load(cls, name: str) -> None:
1285
"""Load the file from the local filesystem"""
1286
1287
conftest.py
@@ -67,6 +67,9 @@ def runtest(self):
67
_with_patched_sleep(exec, byte_code, builtins)
68
msg, _, error = api.run(['--no-color-output', '-c', self.spec])
69
if error:
70
+ # Ignore missing return statements
71
+ if "Missing return statement" in msg:
72
+ return
73
# Ignore missing errors related to the injected names
74
for name in builtins:
75
if f"Name '{name}' is not defined" in msg:
0 commit comments