Plugins/CheckerPlugins/SyntaxChecker/pyflakes/__init__.py

branch
BgService
changeset 3177
5af61402d74d
parent 3159
02cb2adb4868
child 3456
96232974dcdb
equal deleted inserted replaced
3174:86047f5f4155 3177:5af61402d74d
1 # -*- coding: utf-8 -*- 1 # -*- coding: utf-8 -*-
2 2
3 # Copyright (c) 2010 - 2013 Detlev Offenbach <detlev@die-offenbachs.de> 3 # Copyright (c) 2010 - 2014 Detlev Offenbach <detlev@die-offenbachs.de>
4 # 4 #
5 5
6 """ 6 """
7 Package containg the pyflakes Python2 port 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 Florent Xicluna
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.7.3 (2013-07-02):
36 - Do not report undefined name for generator expression and dict or
37 set comprehension at class level.
38 - Deprecate `Checker.pushFunctionScope` and `Checker.pushClassScope`:
39 use `Checker.pushScope` instead.
40 - Remove dependency on Unittest2 for the tests.
41
42 0.7.2 (2013-04-24):
43 - Fix computation of `DoctestSyntaxError.lineno` and `col`.
44 - Add boolean attribute `Checker.withDoctest` to ignore doctests.
45 - If environment variable `PYFLAKES_NODOCTEST` is set, skip doctests.
46 - Environment variable `PYFLAKES_BUILTINS` accepts a comma-separated
47 list of additional built-in names.
48
49 0.7.1 (2013-04-23):
50 - File `bin/pyflakes` was missing in tarball generated with distribute.
51 - Fix reporting errors in non-ASCII filenames (Python 2.x).
52
53 0.7.0 (2013-04-17):
54 - Add --version and --help options.
55 - Support `python -m pyflakes` (Python 2.7 and Python 3.x).
56 - Add attribute `Message.col` to report column offset.
57 - Do not report redefinition of variable for a variable used in a list
58 comprehension in a conditional.
59 - Do not report redefinition of variable for generator expressions and
60 set or dict comprehensions.
61 - Do not report undefined name when the code is protected with a
62 `NameError` exception handler.
63 - Do not report redefinition of variable when unassigning a module imported
64 for its side-effect.
65 - Support special locals like `__tracebackhide__` for py.test.
66 - Support checking doctests.
67 - Fix issue with Turkish locale where `'i'.upper() == 'i'` in Python 2.
68
35 0.6.1 (2013-01-29): 69 0.6.1 (2013-01-29):
36 - Fix detection of variables in augmented assignments. 70 - Fix detection of variables in augmented assignments.
37 71
38 0.6.0 (2013-01-29): 72 0.6.0 (2013-01-29):
39 - Support Python 3 up to 3.3, based on the pyflakes3k project. 73 - Support Python 3 up to 3.3, based on the pyflakes3k project.
57 - Support for new syntax in 2.7 (including set literals, set comprehensions, 91 - Support for new syntax in 2.7 (including set literals, set comprehensions,
58 and dictionary comprehensions). 92 and dictionary comprehensions).
59 - Make sure class names don't get bound until after class definition. 93 - Make sure class names don't get bound until after class definition.
60 """ 94 """
61 95
62 __version__ = '0.6.1' 96 __version__ = '0.7.3'

eric ide

mercurial