Debian Codegraph @

doc/whatsnew/1/1.3.rst

raw
1 **************************
2 What's New In Pylint 1.3
3 **************************
4
5 Release date: 2014-07-26
6
7 * Allow hanging continued indentation for implicitly concatenated
8 strings.
9
10 Closes #232.
11
12 * Pylint works under Python 2.5 again, and its test suite passes.
13
14 * Fix some false positives for the cellvar-from-loop warnings.
15
16 Closes #233.
17
18 * Return new astroid class nodes when the inferencer can detect that
19 that result of a function invocation on a type (like ``type`` or
20 `abc.ABCMeta`) is requested.
21
22 Closes #205.
23
24 * Emit :ref:`undefined-variable` for undefined names when using the
25 Python 3 ``metaclass=`` argument.
26
27 * Checkers respect priority now.
28
29 Closes #229
30
31 * Fix a false positive regarding W0511.
32
33 Closes #149.
34
35 * Fix :ref:`unused-import` false positive with Python 3 metaclasses
36
37 Closes #143
38
39 * Don't warn with :ref:`bad-format-character` when encountering
40 the 'a' format on Python 3.
41
42 * Add multiple checks for PEP 3101 advanced string formatting:
43 :ref:`bad-format-string`, :ref:`missing-format-argument-key`,
44 :ref:`unused-format-string-argument`, :ref:`format-combined-specification`,
45 :ref:`missing-format-attribute` and :ref:`invalid-format-index`.
46
47 * Issue :ref:`broad-except` and :ref:`bare-except` even if the number
48 of except handlers is different than 1.
49
50 Closes #113
51
52 * Issue :ref:`attribute-defined-outside-init` for all cases, not just
53 for the last assignment.
54
55 Closes #262
56
57 * Emit :ref:`not-callable` when calling properties.
58
59 Closes #268.
60
61 * Fix a false positive with unbalanced iterable unpacking,
62 when encountering starred nodes.
63
64 Closes #273.
65
66 * Add new checks, :ref:`invalid-slice-index` and :ref:`invalid-sequence-index`
67 for invalid sequence and slice indices.
68
69 * Add :ref:`assigning-non-slot` warning, which detects assignments to
70 attributes not defined in slots.
71
72 * Don't emit :ref:`no-name-in-module` for ignored modules.
73
74 Closes #223.
75
76 * Fix an :ref:`unused-variable` false positive, where the variable is
77 assigned through an import.
78
79 Closes #196.
80
81 * Definition order is considered for classes, function arguments
82 and annotations.
83
84 Closes #257.
85
86 * Don't emit :ref:`unused-variable` when assigning to a nonlocal.
87
88 Closes #275.
89
90 * Do not let ImportError propagate from the import checker, leading to crash
91 in some namespace package related cases.
92
93 Closes #203.
94
95 * Don't emit :ref:`pointless-string-statement` for attribute docstrings.
96
97 Closes #193.
98
99 * Use the proper mode for pickle when opening and writing the stats file.
100
101 Closes #148.
102
103 * Don't emit hidden-method message when the attribute has been
104 monkey-patched, you're on your own when you do that.
105
106 * Only emit :ref:`attribute-defined-outside-init` for definition within the same
107 module as the offended class, avoiding to mangle the output in some cases.
108
109 * Don't emit :ref:`unnecessary-lambda` if the body of the lambda call contains
110 call chaining.
111
112 Closes #243.
113
114 * Don't emit :ref:`missing-docstring` when the actual docstring uses ``.format``.
115
116 Closes #281.