Skip to content

Commit 7ca6fdd

Browse files
committed
Use __all__ to limit the exposed variables
1 parent 3a57262 commit 7ca6fdd

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

normalize_repos/get_labels.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,6 @@ def get_labels():
9898
standard_labels = get_standard_labels()
9999
repo_specific_labels = get_repo_specific_labels()
100100
return standard_labels, repo_specific_labels
101+
102+
103+
__all__ = [get_labels]

normalize_repos/log.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,4 @@ def change_indent(delta=1):
160160
formatter.delta_indent(delta)
161161

162162

163-
__all__ = [
164-
set_up_logging,
165-
reset_handler,
166-
change_indent,
167-
SUCCESS
168-
]
163+
__all__ = [set_up_logging, reset_handler, change_indent, SUCCESS]

0 commit comments

Comments
 (0)