Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
96728a04
Unverified
Commit
96728a04
authored
Mar 15, 2021
by
Deddy Jobson
Committed by
GitHub
Mar 14, 2021
Browse files
added type hint (#4070)
parent
bcf443b5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
python-package/lightgbm/libpath.py
python-package/lightgbm/libpath.py
+2
-1
No files found.
python-package/lightgbm/libpath.py
View file @
96728a04
...
@@ -2,9 +2,10 @@
...
@@ -2,9 +2,10 @@
"""Find the path to LightGBM dynamic library files."""
"""Find the path to LightGBM dynamic library files."""
import
os
import
os
from
platform
import
system
from
platform
import
system
from
typing
import
List
def
find_lib_path
():
def
find_lib_path
()
->
List
[
str
]
:
"""Find the path to LightGBM library files.
"""Find the path to LightGBM library files.
Returns
Returns
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment