7 Package containg pyflakes adapted for Qt. |
7 Package containg pyflakes adapted for Qt. |
8 """ |
8 """ |
9 |
9 |
10 """ License |
10 """ License |
11 Copyright 2005-2011 Divmod, Inc. |
11 Copyright 2005-2011 Divmod, Inc. |
12 Copyright 2013 Florent Xicluna |
12 Copyright 2013-2014 Florent Xicluna |
13 |
13 |
14 Permission is hereby granted, free of charge, to any person obtaining |
14 Permission is hereby granted, free of charge, to any person obtaining |
15 a copy of this software and associated documentation files (the |
15 a copy of this software and associated documentation files (the |
16 "Software"), to deal in the Software without restriction, including |
16 "Software"), to deal in the Software without restriction, including |
17 without limitation the rights to use, copy, modify, merge, publish, |
17 without limitation the rights to use, copy, modify, merge, publish, |
30 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
30 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
31 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
31 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
32 """ |
32 """ |
33 |
33 |
34 """ Changes |
34 """ Changes |
|
35 0.8.1 (2014-03-30): |
|
36 - Detect the declared encoding in Python 3. |
|
37 - Do not report redefinition of import in a local scope, if the |
|
38 global name is used elsewhere in the module. |
|
39 - Catch undefined variable in loop generator when it is also used as |
|
40 loop variable. |
|
41 - Report undefined name for `(a, b) = (1, 2)` but not for the general |
|
42 unpacking `(a, b) = func()`. |
|
43 - Correctly detect when an imported module is used in default arguments |
|
44 of a method, when the method and the module use the same name. |
|
45 - Distribute a universal wheel file. |
|
46 |
|
47 0.8.0 (2014-03-22): |
|
48 - Adapt for the AST in Python 3.4. |
|
49 - Fix caret position on SyntaxError. |
|
50 - Fix crash on Python 2.x with some doctest SyntaxError. |
|
51 - Add tox.ini. |
|
52 - The `PYFLAKES_NODOCTEST` environment variable has been replaced with the |
|
53 `PYFLAKES_DOCTEST` environment variable (with the opposite meaning). |
|
54 Doctest checking is now disabled by default; set the environment variable |
|
55 to enable it. |
|
56 - Correctly parse incremental `__all__ += [...]`. |
|
57 - Catch return with arguments inside a generator (Python <= 3.2). |
|
58 - Do not complain about `_` in doctests. |
|
59 - Drop deprecated methods `pushFunctionScope` and `pushClassScope`. |
|
60 |
35 0.7.3 (2013-07-02): |
61 0.7.3 (2013-07-02): |
36 - Do not report undefined name for generator expression and dict or |
62 - Do not report undefined name for generator expression and dict or |
37 set comprehension at class level. |
63 set comprehension at class level. |
38 - Deprecate `Checker.pushFunctionScope` and `Checker.pushClassScope`: |
64 - Deprecate `Checker.pushFunctionScope` and `Checker.pushClassScope`: |
39 use `Checker.pushScope` instead. |
65 use `Checker.pushScope` instead. |
89 0.5.0 (2011-09-02): |
115 0.5.0 (2011-09-02): |
90 - Convert pyflakes to use newer _ast infrastructure rather than compiler. |
116 - Convert pyflakes to use newer _ast infrastructure rather than compiler. |
91 - Support for new syntax in 2.7 (including set literals, set comprehensions, |
117 - Support for new syntax in 2.7 (including set literals, set comprehensions, |
92 and dictionary comprehensions). |
118 and dictionary comprehensions). |
93 - Make sure class names don't get bound until after class definition. |
119 - Make sure class names don't get bound until after class definition. |
|
120 |
|
121 0.4.0 (2009-11-25): |
|
122 - Fix reporting for certain SyntaxErrors which lack line number |
|
123 information. |
|
124 - Check for syntax errors more rigorously. |
|
125 - Support checking names used with the class decorator syntax in versions |
|
126 of Python which have it. |
|
127 - Detect local variables which are bound but never used. |
|
128 - Handle permission errors when trying to read source files. |
|
129 - Handle problems with the encoding of source files. |
|
130 - Support importing dotted names so as not to incorrectly report them as |
|
131 redefined unused names. |
|
132 - Support all forms of the with statement. |
|
133 - Consider static `__all__` definitions and avoid reporting unused names |
|
134 if the names are listed there. |
|
135 - Fix incorrect checking of class names with respect to the names of their |
|
136 bases in the class statement. |
|
137 - Support the `__path__` global in `__init__.py`. |
|
138 |
|
139 0.3.0 (2009-01-30): |
|
140 - Display more informative SyntaxError messages. |
|
141 - Don't hang flymake with unmatched triple quotes (only report a single |
|
142 line of source for a multiline syntax error). |
|
143 - Recognize __builtins__ as a defined name. |
|
144 - Improve pyflakes support for python versions 2.3-2.5 |
|
145 - Support for if-else expressions and with statements. |
|
146 - Warn instead of error on non-existant file paths. |
|
147 - Check for __future__ imports after other statements. |
|
148 - Add reporting for some types of import shadowing. |
|
149 - Improve reporting of unbound locals |
94 """ |
150 """ |
95 |
151 |
96 __version__ = '0.7.3' |
152 __version__ = '0.8.1' |