a33edecad6
Update all .py source files by $ pyupgrade --py3-only $(git ls-files | grep ".py$") to modernize the code according to Python 3 syntaxes. Also add the pyupgrade hook to pre-commit to avoid merging additional Python 2 syntaxes. Change-Id: I282706b4b2986da32ce813045620f5a145d91c45 |
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
test_cache_handler.py | ||
test_checks.py | ||
test_external.py | ||
test_fixtures.py | ||
test_generator.py | ||
test_opts.py | ||
test_parser.py | ||
test_policy.py | ||
test_shell.py | ||
test_sphinxext.py | ||
test_sphinxpolicygen.py | ||
token_fixture.py |