Debian Codegraph @

doc/whatsnew/1/1.6/full.rst

raw
1 Full changelog
2 ==============
3
4 What's new in Pylint 1.6.3?
5 ----------------------------
6 Release date: 2016-07-18
7
8 * Do not crash when inferring uninferable exception types for docparams extension
9
10 Closes #998
11
12
13 What's new in Pylint 1.6.2?
14 ----------------------------
15 Release date: 2016-07-15
16
17 * Do not crash when printing the help of options with default regular expressions
18
19 Closes #990
20
21 * More granular versions for deprecated modules.
22
23 Closes #991
24
25
26 What's new in Pylint 1.6.1?
27 ----------------------------
28 Release date: 2016-07-07
29
30 * Use environment markers for supporting conditional dependencies.
31
32
33 What's New in Pylint 1.6.0?
34 ---------------------------
35 Release date: 2016-07-03
36
37 * Added a new extension, ``pylint.extensions.mccabe``, for warning
38 about complexity in code.
39
40 * Deprecate support for --optimize-ast
41
42 Fixes part of #975
43
44 * Deprecate support for the HTML output
45
46 Fixes part of #975
47
48 * Deprecate support for --output-files
49
50 Fixes part of #975
51
52 * Fixed a documentation error for the check_docs extension.
53
54 Closes #735
55
56 * Made the list of property-defining decorators configurable.
57
58 * Fix a bug where the top name of a qualified import was detected as unused variable.
59
60 Closes #923
61
62 * :ref:`bad-builtin` is now an extension check.
63
64 * generated-members support qualified name through regular expressions.
65
66 For instance, one can specify a regular expression as --generated-members=astroid.node_classes.*
67 for ignoring every :ref:`no-member` error that is accessed as in ``astroid.node_classes.missing.object``.
68
69 * Add the ability to ignore files based on regex matching, with the new ``--ignore-patterns``
70 option. Allow for multiple ignore patterns to be specified. Rather than clobber the existing
71 ignore option, we introduced a new one called ignore-patterns.
72
73 Closes #156
74
75 * Added a new error, :ref:`trailing-newlines`, which is emitted when a file
76 has trailing new lines.
77
78 Closes #682
79
80 * Add a new option, 'redefining-builtins-modules', for controlling the modules
81 which can redefine builtins, such as six.moves and future.builtins.
82
83 Closes #464
84
85 * 'reimported' is emitted when the same name is imported from different module.
86
87 Closes #162
88
89 * Add a new recommendation checker, :ref:`consider-iterating-dictionary`, which is emitted
90 which is emitted when a dictionary is iterated through .keys().
91
92 Closes #699
93
94 * Use the configparser backport for Python 2
95
96 This fixes a problem we were having with comments inside values, which is fixed
97 in Python 3's configparser.
98
99 Closes #828
100
101 * A new error was added, :ref:`invalid-length-returned`, when the ``__len__``
102 special method returned something else than a non-negative number.
103
104 Closes #557
105
106 * Switch to using isort internally for :ref:`wrong-import-order`.
107
108 Closes #879
109
110 * check_docs extension can find constructor parameters in __init__.
111
112 Closes #887
113
114 * Don't warn about :ref:`invalid-sequence-index` if the indexed object has unknown base
115 classes.
116
117 Closes #867
118
119 * Don't crash when checking, for :ref:`super-init-not-called`, a method defined in an if block.
120
121 * Do not emit :ref:`import-error` or :ref:`no-name-in-module` for fallback import blocks by default.
122
123 Until now, we warned with these errors when a fallback import block (a TryExcept block
124 that contained imports for Python 2 and 3) was found, but this gets cumbersome when
125 trying to write compatible code. As such, we don't check these blocks by default,
126 but the analysis can be enforced by using the new ``--analyse-fallback-block`` flag.
127
128 Closes #769.