Skip to content

flake8_atlas: Update print-related checks

Frank Winklmeier requested to merge fwinkl/athena:flake8_atlas3 into master

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.
Edited by Frank Winklmeier

Merge request reports