Skip to content

Commit

Permalink
Release 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
xZise committed May 30, 2016
1 parent c037611 commit 171c855
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
15 changes: 10 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
__future__ import checker
=========================

.. image:: https://secure.travis-ci.org/xZise/flake8-future-import.png?branch=0.4.0
.. image:: https://secure.travis-ci.org/xZise/flake8-future-import.png?branch=0.4.1
:alt: Build Status
:target: https://travis-ci.org/xZise/flake8-future-import

Expand Down Expand Up @@ -43,7 +43,7 @@ When both ``flake8 2.0`` and ``flake8-future-imports`` are installed, the plugin
is available in ``flake8``::

$ flake8 --version
2.0 (pep8: 1.4.2, flake8-future-imports: 0.4.0, pyflakes: 0.6.1)
2.0 (pep8: 1.4.2, flake8-future-imports: 0.4.1, pyflakes: 0.6.1)

By default the plugin will check for all the future imports but with
``--ignore`` it's possible to define which imports from ``__future__`` are
Expand All @@ -64,9 +64,8 @@ This module adds one parameter:
strings (and by extension docstrings). Corresponds to ``require-code = True``
in the ``tox.ini``.
* ``--min-version``: Define the minimum version supported by the project. Any
features already mandatory are ignored then by default. Additionally features
not available in that version will be forbidden by default. Corresponds to
``min-version = …`` in the ``tox.ini``.
features already mandatory or not available won't cause a warning when they
are missing. Corresponds to ``min-version = …`` in the ``tox.ini``.

The stand alone version also mimics flake8's ignore parameter.

Expand Down Expand Up @@ -132,6 +131,12 @@ cannot skip reporting those imports.
Changes
-------

0.4.1 - 2016-05-30
``````````````````
* Do not ignore imports which are present and have been added after the minimum
version
* Ignore imports which became mandatory with the minimum version

0.4.0 - 2016-05-30
``````````````````
* Add two older ``future`` imports
Expand Down
2 changes: 1 addition & 1 deletion flake8_future_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

from ast import NodeVisitor, Str, Module, parse

__version__ = '0.4.1dev0'
__version__ = '0.4.1'


class FutureImportVisitor(NodeVisitor):
Expand Down

0 comments on commit 171c855

Please sign in to comment.