Skip to content
flake8
Python
Branch: master
Clone or download
Latest commit e5d3812 Feb 11, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore actual version 1 of the correct package Jun 30, 2014
.travis.yml no more testing on 2.6 Feb 11, 2018
LICENCE Add licence file Nov 28, 2016
README.rst update changelog Feb 11, 2018
flake8_print.py update codes and extry point Feb 11, 2018
requirements.txt update codes and extry point Feb 11, 2018
setup.cfg 3.0.0 (#24) Nov 5, 2017
setup.py Add a framework classifier (#28) Feb 11, 2018
test_linter.py update codes and extry point Feb 11, 2018

README.rst

Flake8 print plugin

Check for Print statements in python files.

This module provides a plugin for flake8, the Python code checker.

Installation

You can install or upgrade flake8-print with these commands:

$ pip install flake8-print
$ pip install --upgrade flake8-print

Plugin for Flake8

When both flake8 2.4.1 and flake8-print are installed, the plugin is available in flake8:

$ flake8 --version
2.4.1 (pep8: 1.5.7, flake8-print: 2.0.0, mccabe: 0.3.1, pyflakes: 0.8.1)

Changes

3.1.0 - 2018-02-11

  • Add a framework classifier for use in pypi.org
  • Fix entry_point in setup.py leaving it off by default again.

3.0.1 - 2017-11-06

  • Fix conflict in setup.py leaving it off by default again.
  • Fix bug in name code.

3.0.0 - 2017-11-05

  • Remove some of the python 2/3 message differentiation.
  • Use an AST rather than a logical line checker with a regex.
  • pprint support.
  • Loss of multiline noqa support, until there is a way to use both the AST and have flake8 provide the noqa lines.

2.0.2 - 2016-02-29

  • Fix ReadMe for pipy
  • Refactor, DRY it up.
  • Update python 2 vs python 3 print statement styles.

2.0.1 - 2015-11-21

  • Add back the decorator to fix the flake8 --version call.

2.0 - 2015-11-10

  • Support noqa at end of multiline print statement
  • Performance improvements
  • Removed PrintStatementChecker class and other functions
  • Added T101 for 'Python 2.x reserved word print used.'
  • Added testing for Python 3.3 and 3.5, and different flake8 versions

1.6.1 - 2015-05-22

  • Fix bug introduced in 1.6.

1.6 - 2015-05-18

  • Added proper support for python3 and testing for python 2.6, 2.7 and 3.4

1.5 - 2014-11-04

  • Added python2.6 support. Thanks @zoidbergwill

1.4 - 2014-10-06

  • Apped noqa support

1.3 - 2014-09-27

  • Dropped noqa support
  • Support for multiline comments and less false positives

1.2 - 2014-06-30

  • Does not catch the word print in single line strings
  • Does not catch inline comments with print in it
  • Added tests

1.1 - 2014-06-30

  • First release

1.0 - 2014-06-30

  • Whoops
You can’t perform that action at this time.