Skip to content

cclauss/flake8_for_print_statements

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Flake8 for Python 3.x incompatible use of print operator

Runs hacking selecting only the error: H233 Python 3.x incompatible use of print operator

Fixing H233 issues

The 2to3 utility that ships with Python can automatically fix all print statements so that they are compatible with both Python 2 and Python 3.

At the root of your project, run 2to3 -f print . to see all the lines that need to be changed and then run 2to3 -f print -w . to actually write (-w) the changes into the files.

https://docs.python.org/2/library/2to3.html

About

Flake8 for Python 3.x incompatible use of print operator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published