You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: find-project-root/docs/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ import find_project_root
37
37
38
38
# Find from current dir
39
39
root = find_project_root()
40
-
print(root) # e.g. /home/user/projects/your-project
40
+
print(root) # e.g. => '/home/user/projects/your-project'
41
41
```
42
42
43
43
_Note: Most type checkers will falsely warn_`find_project_root`_is not a callable module because they are incapable of analyzing runtime behavior (where the module is replaced w/ a function for cleaner, direct access). You can safely suppress such warnings using_`# type: ignore`.
0 commit comments