Current codebase has inconsistent use of python as well python3 in different places to invoke python3 interpretor.
I feel we should make it uniform across all the files to use python3 (preferred for Python 3.x usage)
I have checked mainly two files -
|
checkcopyrights: ; python3 $(THIS_DIR)../scripts/check-copyright $(COPYRIGHT_FLAGS) . |
|
python scripts/check-coverage --threshold $(COVERAGE_THRESHOLD) $(IGNORE_FLAGS) |
For more results, simply doing a global string search for python gives more files where inconsistency is there.
NOTE - Note a bug, but code improvement issue.
Current codebase has inconsistent use of
pythonas wellpython3in different places to invokepython3interpretor.I feel we should make it uniform across all the files to use
python3(preferred for Python 3.x usage)I have checked mainly two files -
services/mk/test.mk
Line 58 in 5d9586c
services/mk/cover.mk
Line 23 in 5d9586c
For more results, simply doing a global string search for
pythongives more files where inconsistency is there.