Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/psf/black
/ get_base_dir
Function
get_base_dir
tests/util.py:146–147 ·
view source on GitHub ↗
(data: bool)
Source
from the content-addressed store, hash-verified
144
145
146
def
get_base_dir(data: bool) -> Path:
147
return
DATA_DIR
if
data
else
PROJECT_ROOT
148
149
150
def
all_data_cases(subdir_name: str, data: bool = True) -> List[str]:
Callers
2
all_data_cases
Function · 0.85
get_case_path
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected