Skip to content

Commit 03617c6

Browse files
committed
style: mark internal funcs in conf.py private
1 parent 4d35d09 commit 03617c6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dandischema/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ class SpdxLicenseIdList(BaseModel):
4040
license_ids: list[str]
4141

4242

43-
license_id_file_path = files(__package__) / "_resources" / "spdx_license_ids.json"
43+
_license_id_file_path = files(__package__) / "_resources" / "spdx_license_ids.json"
4444

45-
spdx_license_id_list = SpdxLicenseIdList.model_validate_json(
46-
license_id_file_path.read_text()
45+
_spdx_license_id_list = SpdxLicenseIdList.model_validate_json(
46+
_license_id_file_path.read_text()
4747
)
4848

4949
if TYPE_CHECKING:
@@ -54,7 +54,7 @@ class License(Enum):
5454
else:
5555
License = Enum(
5656
"License",
57-
[("spdx:" + id_,) * 2 for id_ in spdx_license_id_list.license_ids],
57+
[("spdx:" + id_,) * 2 for id_ in _spdx_license_id_list.license_ids],
5858
)
5959

6060

0 commit comments

Comments
 (0)