diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2014-03-30 20:51:55 +0200 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2014-03-30 20:51:55 +0200 |
commit | 71b7b6776856912d50a0b9a85a8ea2a1dc7eb75c (patch) | |
tree | 4c4fc19c9176cdf9132f4eceede5fba525a763f9 | |
parent | dec1ddbda39bdef7c0db39e7a32ec153c76296be (diff) | |
download | pyflakes-0.8.1.tar.gz |
Release version 0.8.10.8.1
-rw-r--r-- | NEWS.txt | 3 | ||||
-rw-r--r-- | README.rst | 4 | ||||
-rw-r--r-- | pyflakes/__init__.py | 2 | ||||
-rw-r--r-- | pyflakes/checker.py | 2 | ||||
-rw-r--r-- | setup.cfg | 2 |
5 files changed, 11 insertions, 2 deletions
@@ -1,4 +1,4 @@ -UNRELEASED: +0.8.1 (2014-03-30): - Detect the declared encoding in Python 3. - Do not report redefinition of import in a local scope, if the global name is used elsewhere in the module. @@ -8,6 +8,7 @@ UNRELEASED: unpacking `(a, b) = func()`. - Correctly detect when an imported module is used in default arguments of a method, when the method and the module use the same name. + - Distribute a universal wheel file. 0.8.0 (2014-03-22): - Adapt for the AST in Python 3.4. @@ -30,3 +30,7 @@ Share your feedback and ideas: `subscribe to the mailing-list .. image:: https://api.travis-ci.org/pyflakes/pyflakes.png :target: https://travis-ci.org/pyflakes/pyflakes :alt: Build status + +.. image:: https://pypip.in/wheel/pyflakes/badge.png + :target: https://pypi.python.org/pypi/pyflakes + :alt: Wheel Status diff --git a/pyflakes/__init__.py b/pyflakes/__init__.py index 71722ee..43619bf 100644 --- a/pyflakes/__init__.py +++ b/pyflakes/__init__.py @@ -1,2 +1,2 @@ -__version__ = '0.8.1a0' +__version__ = '0.8.1' diff --git a/pyflakes/checker.py b/pyflakes/checker.py index a39b32a..8f290f6 100644 --- a/pyflakes/checker.py +++ b/pyflakes/checker.py @@ -128,6 +128,7 @@ class Importation(Definition): possibly including multiple dotted components. @type fullName: C{str} """ + def __init__(self, name, source): self.fullName = name self.redefined = [] @@ -178,6 +179,7 @@ class ExportBinding(Binding): Names which are imported and not otherwise used but appear in the value of C{__all__} will not have an unused import warning reported for them. """ + def __init__(self, name, source, scope): if '__all__' in scope and isinstance(source, ast.AugAssign): self.names = list(scope['__all__'].names) diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..5e40900 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[wheel] +universal = 1 |