Closed gforcada closed 7 years ago
Logging to stdout could help.
On the other hand: why are we against print statements? I think that is because it is not good in a web server environment: all output should go to a log file there, so printing is bad. For a code analysis script on the command line, printing is fine IMHO. So we might disable the printing check for this package.
@mauritsvanrees yeah, that's true as well, I didn't want to have a special set of plugins for p.r.codeanalysis.
The canonical place for plugins anyway should be on bobtemplates.plone or buildout.coredev anyway...
I will remove that plugin at night, thanks for the review!
Regarding the
print
statements, should we move those to use logging?One solution could be https://stackoverflow.com/questions/14058453