@@ -37,7 +37,7 @@ def set_function_name(f, name, cls):
37
37
38
38
39
39
# https://github.com/pandas-dev/pandas/pull/9123
40
- def is_platform_little_endian ():
40
+ def is_platform_little_endian () -> bool :
41
41
"""
42
42
Checking if the running platform is little endian.
43
43
@@ -49,7 +49,7 @@ def is_platform_little_endian():
49
49
return sys .byteorder == "little"
50
50
51
51
52
- def is_platform_windows ():
52
+ def is_platform_windows () -> bool :
53
53
"""
54
54
Checking if the running platform is windows.
55
55
@@ -61,7 +61,7 @@ def is_platform_windows():
61
61
return sys .platform == "win32" or sys .platform == "cygwin"
62
62
63
63
64
- def is_platform_linux ():
64
+ def is_platform_linux () -> bool :
65
65
"""
66
66
Checking if the running platform is linux.
67
67
@@ -73,7 +73,7 @@ def is_platform_linux():
73
73
return sys .platform == "linux2"
74
74
75
75
76
- def is_platform_mac ():
76
+ def is_platform_mac () -> bool :
77
77
"""
78
78
Checking if the running platform is mac.
79
79
@@ -85,7 +85,7 @@ def is_platform_mac():
85
85
return sys .platform == "darwin"
86
86
87
87
88
- def is_platform_32bit ():
88
+ def is_platform_32bit () -> bool :
89
89
"""
90
90
Checking if the running platform is 32-bit.
91
91
0 commit comments