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 80d23e9 commit 841aa83Copy full SHA for 841aa83
1 file changed
find-project-root/src/find_project_root/api.py
@@ -2,7 +2,7 @@
2
3
import project_markers
4
5
-def find_project_root(path= None, max_depth= 9, markers= None):
+def find_project_root(path=None, max_depth=9, markers=None):
6
current_dir = os.getcwd() if path is None else str(path)
7
if not os.path.exists(current_dir):
8
raise ValueError('Path does not exist: %s' % os.path.abspath(current_dir))
0 commit comments