We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d413275 commit 10476cbCopy full SHA for 10476cb
examples/import_validation/developer_code.py
@@ -26,6 +26,7 @@ class MyLibrarySpy(SpyModel):
26
# Dynamically import the module and check if it complies with the rules
27
try:
28
module = spy.importspy(spymodel=MyLibrarySpy)
29
- print(f"Module {"/".join(module.__file__.split('/')[-2:])} is using your library correctly!")
+ filename = "/".join(module.__file__.split('/')[-2:])
30
+ print(f"Module {filename} is using your library correctly!")
31
except ValueError as ve:
32
print("Something wrong: ", ve)
0 commit comments