Check for Print statements in python files.
This module provides a plugin for flake8
, the Python code checker.
You can install or upgrade flake8-print
with these commands:
$ pip install flake8-print $ pip install --upgrade flake8-print
When both flake8 2.2
and flake8-print
are installed, the plugin is
available in flake8
:
$ flake8 --version 2.0 (pep8: 1.4.5, flake8-print: 1.0, pyflakes: 0.6.1)
Testing with flake8==2.2.1, and 2.2.4. There was a bug in flake8 that was subsequently fixed.
- Fix bug introduced in 1.6.
- Added proper support for python3 and testing for python 2.6, 2.7 and 3.4
- Added python2.6 support. Thanks @zoidbergwill
- Apped noqa support
- Dropped noqa support
- Support for multiline comments and less false positives
- Does not catch the word print in single line strings
- Does not catch inline comments with print in it
- Added tests
- First release
- Whoops