8000 Run Black on Generated libraries by crwilcox · Pull Request #6666 · googleapis/google-cloud-python · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from al 10BC0 l commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
30 changes: 15 additions & 15 deletions appveyor/env_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,26 @@

def env_var(var_name):
value = os.environ.get(var_name)
print('os.environ[{!r}]: {}'.format(var_name, value))
print("os.environ[{!r}]: {}".format(var_name, value))


def main():
print('os.name: {}'.format(os.name))
env_var('PYTHON_ARCH')
env_var('PYTHON_VERSION')
print('sys.platform: {}'.format(sys.platform))

if sys.maxsize == 2**63 - 1:
print('sys.maxsize: 2^(63) - 1')
elif sys.maxsize == 2**31 - 1:
print('sys.maxsize: 2^(31) - 1')
print("os.name: {}".format(os.name))
env_var("PYTHON_ARCH")
env_var("PYTHON_VERSION")
print("sys.platform: {}".format(sys.platform))

if sys.maxsize == 2 ** 63 - 1:
print("sys.maxsize: 2^(63) - 1")
elif sys.maxsize == 2 ** 31 - 1:
print("sys.maxsize: 2^(31) - 1")
else:
print('sys.maxsize: {}'.format(sys.maxsize))
print("sys.maxsize: {}".format(sys.maxsize))

print('sys.version:\n{}'.format(sys.version))
bitness = struct.calcsize('P') * 8
print('struct.calcsize(\'P\') * 8: {}'.format(bitness))
print("sys.version:\n{}".format(sys.version))
bitness = struct.calcsize("P") * 8
print("struct.calcsize('P') * 8: {}".format(bitness))
4F24

if __name__ == '__main__':
if __name__ == "__main__":
main()
Loading
0