@@ -37,7 +37,7 @@ def set_function_name(f, name, cls):
3737
3838
3939# https://github.com/pandas-dev/pandas/pull/9123
40- def is_platform_little_endian ():
40+ def is_platform_little_endian () -> bool :
4141 """
4242 Checking if the running platform is little endian.
4343
@@ -49,7 +49,7 @@ def is_platform_little_endian():
4949 return sys .byteorder == "little"
5050
5151
52- def is_platform_windows ():
52+ def is_platform_windows () -> bool :
5353 """
5454 Checking if the running platform is windows.
5555
@@ -61,7 +61,7 @@ def is_platform_windows():
6161 return sys .platform == "win32" or sys .platform == "cygwin"
6262
6363
64- def is_platform_linux ():
64+ def is_platform_linux () -> bool :
6565 """
6666 Checking if the running platform is linux.
6767
@@ -73,7 +73,7 @@ def is_platform_linux():
7373 return sys .platform == "linux2"
7474
7575
76- def is_platform_mac ():
76+ def is_platform_mac () -> bool :
7777 """
7878 Checking if the running platform is mac.
7979
@@ -85,7 +85,7 @@ def is_platform_mac():
8585 return sys .platform == "darwin"
8686
8787
88- def is_platform_32bit ():
88+ def is_platform_32bit () -> bool :
8989 """
9090 Checking if the running platform is 32-bit.
9191
0 commit comments