june.paths.find_default¶
-
june.paths.
find_default
(name: str) → pathlib.Path¶ Get a default path when no command line argument is passed.
First attempt to find the folder in the current working directory.
If it is not found there then try the directory in which June lives.
Finally, try the directory above the current working directory. This
is for the build pipeline.
This means that tests will find the configuration regardless of whether they are run together or individually.
- name
The name of some folder
The full path to that directory