Files
os-api-ref/os_api_ref/tests
Takashi Kajinami a378131f87 Run pyupgrade to clean up Python 2 syntaxes
Update all .py source files by
 $ pyupgrade --py3-only $(git ls-files | grep ".py$")
to modernize the code according to Python 3 syntaxes.

pep8 errors are fixed by
 $ autopep8 --select=E127,E128,E501 --max-line-length 79 -r \
    --in-place os_api_ref

Also add the pyupgrade hook to pre-commit to avoid merging additional
Python 2 syntaxes.

Change-Id: I482aa3eb40d7c8cefaba9ea9df5b9d1dcd3827c1
2025-02-11 01:08:12 +00:00
..
2016-05-13 19:54:08 -04:00