flake8_atlas: Update print-related checks
Update the print-related Python3 checks: - ATL232: Change to an AST-based plugin that finds all `print` statements that are truly incompatible with Py3. The previous version would e.g. also warn about `print("Hello")` while the new version will only warn for tuples with more than one entry, e.g. `print("Hello","world")`. - ATL233: Only warn about `print` statements that do not look like function calls, i.e. without brackets.
Showing
- Tools/PyUtils/CMakeLists.txt 4 additions, 0 deletionsTools/PyUtils/CMakeLists.txt
- Tools/PyUtils/python/flake8_atlas/README.md 13 additions, 1 deletionTools/PyUtils/python/flake8_atlas/README.md
- Tools/PyUtils/python/flake8_atlas/python23.py 40 additions, 23 deletionsTools/PyUtils/python/flake8_atlas/python23.py
- Tools/PyUtils/python/flake8_atlas/setup.py 3 additions, 2 deletionsTools/PyUtils/python/flake8_atlas/setup.py
- Tools/PyUtils/python/flake8_atlas/test/flake8_print_statement.py 11 additions, 0 deletions...yUtils/python/flake8_atlas/test/flake8_print_statement.py
- Tools/PyUtils/share/flake8_logging.ref 1 addition, 1 deletionTools/PyUtils/share/flake8_logging.ref
- Tools/PyUtils/share/flake8_print_statement.ref 3 additions, 0 deletionsTools/PyUtils/share/flake8_print_statement.ref
Loading
Please register or sign in to comment