trentm / node-bunyan

a simple and fast JSON logging module for node.js services
Other
7.18k stars 517 forks source link

Fix Python 3 incompatibilities in cutarelease.py #663

Closed cclauss closed 2 years ago

cclauss commented 3 years ago

raw_input() was removed in Python 3 in favor of input().

Use print() function in both Python 2 and Python 3.

Lint Python code to avoid future regressions...

https://flake8.pycqa.org/en/latest/user/error-codes.html

On the flake8 test selection, this PR does not focus on "style violations" (the majority of flake8 error codes that psf/black can autocorrect). Instead, these tests are focus on runtime safety and correctness: