| 1 |
What's New in Pylint 0.28.0? |
| 2 |
============================ |
| 3 |
Release date: 2013-04-25 |
| 4 |
|
| 5 |
* bitbucket #1: fix "dictionary changed size during iteration" crash |
| 6 |
|
| 7 |
* #74013: new E1310[bad-str-strip-call] message warning when a call to a |
| 8 |
{l,r,}strip method contains duplicate characters (patch by Torsten Marek) |
| 9 |
|
| 10 |
* #123233: new E0108[duplicate-argument-name] message reporting duplicate |
| 11 |
argument names |
| 12 |
|
| 13 |
* #81378: emit W0120[useless-else-on-loop] for loops without break |
| 14 |
|
| 15 |
* #124660: internal dependencies should not appear in external dependencies |
| 16 |
report |
| 17 |
|
| 18 |
* #124662: fix name error causing crash when symbols are included in output |
| 19 |
messages |
| 20 |
|
| 21 |
* #123285: apply pragmas for warnings attached to lines to physical source |
| 22 |
code lines |
| 23 |
|
| 24 |
* #123259: do not emit E0105 for yield expressions inside lambdas |
| 25 |
|
| 26 |
* #123892: don't crash when attempting to show source code line that can't |
| 27 |
be encoded with the current locale settings |
| 28 |
|
| 29 |
* Simplify checks for dangerous default values by unifying tests for all |
| 30 |
different mutable compound literals. |
| 31 |
|
| 32 |
* Improve the description for :ref:`redundant-keyword-arg` |
| 33 |
|
| 34 |
|
| 35 |
What's New in Pylint 0.27.0? |
| 36 |
============================ |
| 37 |
Release date: 2013-02-26 |
| 38 |
|
| 39 |
* #20693: replace pylint.el by Ian Eure version (patch by J.Kotta) |
| 40 |
|
| 41 |
* #105327: add support for --disable=all option and deprecate the |
| 42 |
'disable-all' inline directive in favour of 'skip-file' (patch by |
| 43 |
A.Fayolle) |
| 44 |
|
| 45 |
* #110840: add messages I0020 and I0021 for reporting of suppressed |
| 46 |
messages and useless suppression pragmas. (patch by Torsten Marek) |
| 47 |
|
| 48 |
* #112728: add warning E0604 for non-string objects in __all__ |
| 49 |
(patch by Torsten Marek) |
| 50 |
|
| 51 |
* #120657: add warning W0110/deprecated-lambda when a map/filter |
| 52 |
of a lambda could be a comprehension (patch by Martin Pool) |
| 53 |
|
| 54 |
* #113231: logging checker now looks at instances of Logger classes |
| 55 |
in addition to the base logging module. (patch by Mike Bryant) |
| 56 |
|
| 57 |
* #111799: don't warn about octal escape sequence, but warn about \o |
| 58 |
which is not octal in Python (patch by Martin Pool) |
| 59 |
|
| 60 |
* #110839: bind <F5> to Run button in pylint-gui |
| 61 |
|
| 62 |
* #115580: fix erroneous W0212 (access to protected member) on super call |
| 63 |
(patch by Martin Pool) |
| 64 |
|
| 65 |
* #110853: fix a crash when an __init__ method in a base class has been |
| 66 |
created by assignment rather than direct function definition (patch by |
| 67 |
Torsten Marek) |
| 68 |
|
| 69 |
* #110838: fix pylint-gui crash when include-ids is activated (patch by |
| 70 |
Omega Weapon) |
| 71 |
|
| 72 |
* #112667: fix emission of reimport warnings for mixed imports and extend |
| 73 |
the testcase (patch by Torsten Marek) |
| 74 |
|
| 75 |
* #112698: fix crash related to non-inferable __all__ attributes and |
| 76 |
invalid __all__ contents (patch by Torsten Marek) |
| 77 |
|
| 78 |
* Python 3 related fixes: |
| 79 |
|
| 80 |
* #110213: fix import of checkers broken with python 3.3, causing |
| 81 |
"No such message id W0704" breakage |
| 82 |
|
| 83 |
* #120635: redefine cmp function used in pylint.reporters |
| 84 |
|
| 85 |
* Include full warning id for I0020 and I0021 and make sure to flush |
| 86 |
warnings after each module, not at the end of the pylint run. |
| 87 |
(patch by Torsten Marek) |
| 88 |
|
| 89 |
* Changed the regular expression for inline options so that it must be |
| 90 |
preceded by a # (patch by Torsten Marek) |
| 91 |
|
| 92 |
* Make dot output for import graph predictable and not depend |
| 93 |
on ordering of strings in hashes. (patch by Torsten Marek) |
| 94 |
|
| 95 |
* Add hooks for import path setup and move pylint's sys.path |
| 96 |
modifications into them. (patch by Torsten Marek) |
| 97 |
|
| 98 |
|
| 99 |
What's New in Pylint 0.26.0? |
| 100 |
============================ |
| 101 |
Release date: 2012-10-05 |
| 102 |
|
| 103 |
* #106534: add --ignore-imports option to code similarity checking |
| 104 |
and 'symilar' command line tool (patch by Ry4an Brase) |
| 105 |
|
| 106 |
* #104571: check for anomalous backslash escape, introducing new |
| 107 |
W1401 and W1402 messages (patch by Martin Pool) |
| 108 |
|
| 109 |
* #100707: check for boolop being used as exception class, introducing |
| 110 |
new W0711 message (patch by Tim Hatch) |
| 111 |
|
| 112 |
* #4014: improve checking of metaclass methods first args, introducing |
| 113 |
new C0204 message (patch by [email protected] finalized by sthenault) |
| 114 |
|
| 115 |
* #4685: check for consistency of a module's __all__ variable, |
| 116 |
introducing new E0603 message |
| 117 |
|
| 118 |
* #105337: allow custom reporter in output-format (patch by Kevin Jing Qiu) |
| 119 |
|
| 120 |
* #104420: check for protocol completeness and avoid false R0903 |
| 121 |
(patch by Peter Hammond) |
| 122 |
|
| 123 |
* #100654: fix grammatical error for W0332 message (using 'l' as |
| 124 |
long int identifier) |
| 125 |
|
| 126 |
* #103656: fix W0231 false positive for missing call to object.__init__ |
| 127 |
(patch by [email protected]) |
| 128 |
|
| 129 |
* #63424: fix similarity report disabling by properly renaming it to RP0801 |
| 130 |
|
| 131 |
* #103949: create a console_scripts entry point to be used by |
| 132 |
easy_install, buildout and pip |
| 133 |
|
| 134 |
* fix cross-interpreter issue (non compatible access to __builtins__) |
| 135 |
|
| 136 |
* stop including tests files in distribution, they causes crash when |
| 137 |
installed with python3 (#72022, #82417, #76910) |
| 138 |
|
| 139 |
|
| 140 |
What's New in Pylint 0.25.2? |
| 141 |
============================ |
| 142 |
Release date: 2012-07-17 |
| 143 |
|
| 144 |
* #93591: Correctly emit warnings about clobbered variable names when an |
| 145 |
except handler contains a tuple of names instead of a single name. |
| 146 |
(patch by [email protected]) |
| 147 |
|
| 148 |
* #7394: W0212 (access to protected member) not emitted on assignments |
| 149 |
(patch by [email protected]) |
| 150 |
|
| 151 |
* #18772; no prototype consistency check for mangled methods (patch by |
| 152 |
[email protected]) |
| 153 |
|
| 154 |
* #92911: emit W0102 when sets are used as default arguments in functions |
| 155 |
(patch by [email protected]) |
| 156 |
|
| 157 |
* #77982: do not emit E0602 for loop variables of comprehensions |
| 158 |
used as argument values inside a decorator (patch by [email protected]) |
| 159 |
|
| 160 |
* #89092: don't emit E0202 (attribute hiding a method) on @property methods |
| 161 |
|
| 162 |
* #92584: fix pylint-gui crash due to internal API change |
| 163 |
|
| 164 |
* #87192: fix crash when decorators are accessed through more than one dot |
| 165 |
(for instance @a.b is fine, @a.b.c crash) |
| 166 |
|
| 167 |
* #88914: fix parsing of --generated-members options, leading to crash |
| 168 |
when using a regexp value set |
| 169 |
|
| 170 |
* fix potential crashes with utils.safe_infer raising InferenceError |
| 171 |
|
| 172 |
|
| 173 |
What's New in Pylint 0.25.1? |
| 174 |
============================ |
| 175 |
Release date: 2011-12-08 |
| 176 |
|
| 177 |
* #81078: Warn if names in exception handlers clobber overwrite |
| 178 |
existing names (patch by [email protected]) |
| 179 |
|
| 180 |
* #81113: Fix W0702 messages appearing with the wrong line number. |
| 181 |
(patch by [email protected]) |
| 182 |
|
| 183 |
* #50461, #52020, #51222: Do not issue warnings when using 2.6's |
| 184 |
property.setter/deleter functionality (patch by [email protected]) |
| 185 |
|
| 186 |
* #9188, #4024: Do not trigger W0631 if a loop variable is assigned |
| 187 |
in the else branch of a for loop. |
| 188 |
|
| 189 |
|
| 190 |
What's New in Pylint 0.25.0? |
| 191 |
============================ |
| 192 |
Release date: 2011-10-7 |
| 193 |
|
| 194 |
* #74742: make allowed name for first argument of class method configurable |
| 195 |
(patch by Google) |
| 196 |
|
| 197 |
* #74087: handle case where inference of a module return YES; this avoid |
| 198 |
some cases of "TypeError: '_Yes' object does not support indexing" (patch |
| 199 |
by Google) |
| 200 |
|
| 201 |
* #74745: make "too general" exception names configurable (patch by Google) |
| 202 |
|
| 203 |
* #74747: crash occurs when lookup up a special attribute in class scope |
| 204 |
(patch by google) |
| 205 |
|
| 206 |
* #76920: crash if on e.g. "pylint --rcfile" (patch by Torsten Marek) |
| 207 |
|
| 208 |
* #77237: warning for E0202 may be very misleading |
| 209 |
|
| 210 |
* #73941: HTML report messages table is badly rendered |
| 211 |
|
| 212 |
|
| 213 |
What's New in Pylint 0.24.0? |
| 214 |
============================ |
| 215 |
Release date: 2011-07-18 |
| 216 |
|
| 217 |
* #69738: add regular expressions support for "generated-members" |
| 218 |
|
| 219 |
* ids of logging and string_format checkers have been changed: |
| 220 |
logging: 65 -> 12, string_format: 99 -> 13 |
| 221 |
Also add documentation to say that ids of range 1-50 shall be reserved |
| 222 |
to pylint internal checkers |
| 223 |
|
| 224 |
* #69993: Additional string format checks for logging module: |
| 225 |
check for missing arguments, too many arguments, or invalid string |
| 226 |
formats in the logging checker module. Contributed by Daniel Arena |
| 227 |
|
| 228 |
* #69220: add column offset to the reports. If you've a custom reporter, |
| 229 |
this change may break it has now location gain a new item giving the |
| 230 |
column offset. |
| 231 |
|
| 232 |
* #60828: Fix false positive in reimport check |
| 233 |
|
| 234 |
* #70495: absolute imports fail depending on module path (patch by Jacek Konieczny) |
| 235 |
|
| 236 |
* #22273: Fix --ignore option documentation to match reality |
| 237 |
|
| 238 |
|
| 239 |
What's New in Pylint 0.23.0? |
| 240 |
============================ |
| 241 |
Release date: 2011-01-11 |
| 242 |
|
| 243 |
* documentation update, add manpages |
| 244 |
|
| 245 |
* several performance improvements |
| 246 |
|
| 247 |
* finalize python3 support |
| 248 |
|
| 249 |
* new W0106 warning 'Expression "%s" is assigned to nothing' |
| 250 |
|
| 251 |
* drop E0501 and E0502 messages about wrong source encoding: not anymore |
| 252 |
interesting since it's a syntax error for python >= 2.5 and we now only |
| 253 |
support this python version and above. |
| 254 |
|
| 255 |
* don't emit W0221 or W0222 when methods as variable arguments (e.g. \*arg |
| 256 |
and/or \*\*args). Patch submitted by Charles Duffy. |
| 257 |
|
| 258 |
|
| 259 |
What's New in Pylint 0.22.0? |
| 260 |
============================ |
| 261 |
Release date: 2010-11-15 |
| 262 |
|
| 263 |
* python versions: minimal python3.x support; drop python < 2.5 support |
| 264 |
|
| 265 |
|
| 266 |
What's New in Pylint 0.21.4? |
| 267 |
============================ |
| 268 |
Release date: 2010-10-27 |
| 269 |
|
| 270 |
* fix #48066: pylint crashes when redirecting output containing non-ascii characters |
| 271 |
|
| 272 |
* fix #19799: "pylint -blah" exit with status 2 |
| 273 |
|
| 274 |
* update documentation |
| 275 |
|
| 276 |
|
| 277 |
What's New in Pylint 0.21.3? |
| 278 |
============================ |
| 279 |
Release date: 2010-09-28 |
| 280 |
|
| 281 |
* restored python 2.3 compatibility. Along with logilab-astng |
| 282 |
0.21.3 and logilab-common 0.52, this will much probably be the |
| 283 |
latest release supporting python < 2.5. |
| 284 |
|
| 285 |
|
| 286 |
What's New in Pylint 0.21.2? |
| 287 |
============================ |
| 288 |
Release date: 2010-08-26 |
| 289 |
|
| 290 |
* fix #36193: import checker raise exception on cyclic import |
| 291 |
|
| 292 |
* fix #28796: regression in --generated-members introduced pylint 0.20 |
| 293 |
|
| 294 |
* some documentation cleanups |
| 295 |
|
| 296 |
|
| 297 |
What's New in Pylint 0.21.1? |
| 298 |
============================ |
| 299 |
Release date: 2010-06-04 |
| 300 |
|
| 301 |
* fix #28962: pylint crash with new options, due to missing stats data while |
| 302 |
writing the Statistics by types report |
| 303 |
|
| 304 |
* updated man page to 0.21 or greater command line usage (fix debian #582494) |
| 305 |
|
| 306 |
|
| 307 |
What's New in Pylint 0.21.0? |
| 308 |
============================ |
| 309 |
Release date: 2010-05-11 |
| 310 |
|
| 311 |
* command line updated (closes #9774, #9787, #9992, #22962): |
| 312 |
|
| 313 |
* all enable-* / disable-* options have been merged into --enable / --disable |
| 314 |
|
| 315 |
* BACKWARD INCOMPATIBLE CHANGE: short name of --errors-only becomes -E, -e being |
| 316 |
affected to --enable |
| 317 |
|
| 318 |
* pylint --help output much simplified, with --long-help available to get the |
| 319 |
complete one |
| 320 |
|
| 321 |
* revisited gui, thanks to students from Toronto university (they are great |
| 322 |
contributors to this release!) |
| 323 |
|
| 324 |
* fix #21591: html reporter produces no output if reports is set to 'no' |
| 325 |
|
| 326 |
* fix #4581: not Missing docstring (C0111) warning if a method is overridden |
| 327 |
|
| 328 |
* fix #4683: Non-ASCII characters count double if utf8 encode |
| 329 |
|
| 330 |
* fix #9018: when using defining-attr-method, method order matters |
| 331 |
|
| 332 |
* fix #4595: Comma not followed by a space should not occurs on trailing comma |
| 333 |
in list/tuple/dict definition |
| 334 |
|
| 335 |
* fix #22585: [Patch] fix man warnings for pyreverse.1 manpage |
| 336 |
|
| 337 |
* fix #20067: AttributeError: 'NoneType' object has no attribute 'name' with with |
| 338 |
|
| 339 |
|
| 340 |
What's New in Pylint 0.20.0? |
| 341 |
============================ |
| 342 |
Release date: 2010-03-01 |
| 343 |
|
| 344 |
* fix #19498: fix windows batch file |
| 345 |
|
| 346 |
* fix #19339: pylint.el : non existing py-mod-map |
| 347 |
(closes Debian Bug report logs - #475939) |
| 348 |
|
| 349 |
* implement #18860, new W0199 message on assert (a, b) |
| 350 |
|
| 351 |
* implement #9776, 'W0150' break or return statement in finally block may |
| 352 |
swallow exception. |
| 353 |
|
| 354 |
* fix #9263, __init__ and __new__ are checked for unused arguments |
| 355 |
|
| 356 |
* fix #20991, class scope definitions ignored in a genexpr |
| 357 |
|
| 358 |
* fix #5975, Abstract intermediate class not recognized as such |
| 359 |
|
| 360 |
* fix #5977, yield and return statement have their own counters, no more R0911 |
| 361 |
(Too many return statements) when a function have many yield stamtements |
| 362 |
|
| 363 |
* implement #5564, function / method arguments with leading "_" are ignored in |
| 364 |
arguments / local variables count. |
| 365 |
|
| 366 |
* implement #9982, E0711 specific error message when raising NotImplemented |
| 367 |
|
| 368 |
* remove --cache-size option |
| 369 |
|
| 370 |
|
| 371 |
What's New in Pylint 0.19.0? |
| 372 |
============================ |
| 373 |
Release date: 2009-12-18 |
| 374 |
|
| 375 |
* implement #18947, #5561: checker for function arguments |
| 376 |
|
| 377 |
* include James Lingard string format checker |
| 378 |
|
| 379 |
* include simple message (ids) listing by Vincent Ferotin (#9791) |
| 380 |
|
| 381 |
* --errors-only does not hide fatal error anymore |
| 382 |
|
| 383 |
* include james Lingard patches for ++/-- and duplicate key in dicts |
| 384 |
|
| 385 |
* include James Lingard patches for function call arguments checker |
| 386 |
|
| 387 |
* improved Flymake code and doc provided by Derek Harland |
| 388 |
|
| 389 |
* refactor and fix the imports checker |
| 390 |
|
| 391 |
* fix #18862: E0601 false positive with lambda functions |
| 392 |
|
| 393 |
* fix #8764: More than one statement on a single line false positive with |
| 394 |
try/except/finally |
| 395 |
|
| 396 |
* fix #9215: false undefined variable error in lambda function |
| 397 |
|
| 398 |
* fix for w0108 false positive (Nathaniel) |
| 399 |
|
| 400 |
* fix test/fulltest.sh |
| 401 |
|
| 402 |
* #5821 added a utility function to run pylint in another process (patch provide by Vincent Ferotin) |
| 403 |
|
| 404 |
|
| 405 |
What's New in Pylint 0.18.0? |
| 406 |
============================ |
| 407 |
Release date: 2009-03-25 |
| 408 |
|
| 409 |
* tests ok with python 2.4, 2.5, 2.6. 2.3 not tested |
| 410 |
|
| 411 |
* fix #8687, W0613 false positive on inner function |
| 412 |
|
| 413 |
* fix #8350, C0322 false positive on multi-line string |
| 414 |
|
| 415 |
* fix #8332: set E0501 line no to the first line where non ascii character |
| 416 |
has been found |
| 417 |
|
| 418 |
* avoid some E0203 / E0602 false negatives by detecting respectively |
| 419 |
AttributeError / NameError |
| 420 |
|
| 421 |
* implements #4037: don't issue W0142 (* or ** magic) when they are barely |
| 422 |
passed from */** arguments |
| 423 |
|
| 424 |
* complete #5573: more complete list of special methods, also skip W0613 |
| 425 |
for python internal method |
| 426 |
|
| 427 |
* don't show information messages by default |
| 428 |
|
| 429 |
* integration of Yuen Ho Wong's patches on Emacs lisp files |
| 430 |
|
| 431 |
|
| 432 |
What's New in Pylint 0.17.0? |
| 433 |
============================ |
| 434 |
Release date: 2009-03-19 |
| 435 |
|
| 436 |
* semicolon check : move W0601 to W0301 |
| 437 |
|
| 438 |
* remove rpython : remove all rpython checker, modules and tests |
| 439 |
|
| 440 |
* astng 0.18 compatibility: support for _ast module modifies interfaces |
| 441 |
|
| 442 |
|
| 443 |
What's New in Pylint 0.16.0? |
| 444 |
============================ |
| 445 |
Release date: 2009-01-28 |
| 446 |
|
| 447 |
* change [en|dis]able-msg-cat options: only accept message categories |
| 448 |
identified by their first letter (e.g. IRCWEF) without the need for comma |
| 449 |
as separator |
| 450 |
|
| 451 |
* add epylint.bat script to fix Windows installation |
| 452 |
|
| 453 |
* setuptools/easy_install support |
| 454 |
|
| 455 |
* include a modified version of Maarten ter Huurne patch to avoid W0613 |
| 456 |
warning on arguments from overridden method |
| 457 |
|
| 458 |
* implement #5575 drop dumb W0704 message) by adding W0704 to ignored |
| 459 |
messages by default |
| 460 |
|
| 461 |
* new W0108 message, checking for suspicious lambda (provided by Nathaniel |
| 462 |
Manista) |
| 463 |
|
| 464 |
* fix W0631, false positive reported by Paul Hachmann |
| 465 |
|
| 466 |
* fix #6951: false positive with W0104 |
| 467 |
|
| 468 |
* fix #6949 |
| 469 |
|
| 470 |
* patches by Mads Kiilerich: |
| 471 |
|
| 472 |
* implement #4691, make pylint exits with a non zero return |
| 473 |
status if any messages other then Information are issued |
| 474 |
|
| 475 |
* fix #3711, #5626 (name resolution bug w/ decorator and class members) |
| 476 |
|
| 477 |
* fix #6954 |
| 478 |
|
| 479 |
|
| 480 |
What's New in Pylint 0.15.2? |
| 481 |
============================ |
| 482 |
Release date: 2008-10-13 |
| 483 |
|
| 484 |
* fix #5672: W0706 weirdness ( W0706 removed ) |
| 485 |
|
| 486 |
* fix #5998: documentation points to wrong url for mailing list |
| 487 |
|
| 488 |
* fix #6022: no error message on wrong module names |
| 489 |
|
| 490 |
* fix #6040: pytest doesn't run test/func_test.py |
| 491 |
|
| 492 |
|
| 493 |
What's New in Pylint 0.15.1? |
| 494 |
============================ |
| 495 |
Release date: 2008-09-15 |
| 496 |
|
| 497 |
* fix #4910: default values are missing in manpage |
| 498 |
|
| 499 |
* fix #5991: missing files in 0.15.0 tarball |
| 500 |
|
| 501 |
* fix #5993: epylint should work with python 2.3 |
| 502 |
|
| 503 |
|
| 504 |
What's New in Pylint 0.15.0? |
| 505 |
============================ |
| 506 |
Release date: 2008-09-10 |
| 507 |
|
| 508 |
* include pyreverse package and class diagram generation |
| 509 |
|
| 510 |
* included Stefan Rank's patch to deal with 2.4 relative import |
| 511 |
|
| 512 |
* included Robert Kirkpatrick's tutorial and typos fixes |
| 513 |
|
| 514 |
* fix bug in reenabling message |
| 515 |
|
| 516 |
* fix #2473: invoking pylint on __init__.py (hopefully) |
| 517 |
|
| 518 |
* typecheck: acquired-members option has been dropped in favor of the more |
| 519 |
generic generated-members option. If the zope option is set, the behaviour |
| 520 |
is now to add some default values to generated-members. |
| 521 |
|
| 522 |
* Flymake integration: added bin/epylint and elisp/pylint-flymake.el |
| 523 |
|
| 524 |
|
| 525 |
What's New in Pylint 0.14.0? |
| 526 |
============================ |
| 527 |
Release date: 2008-01-14 |
| 528 |
|
| 529 |
* fix #3733: Messages (dis)appear depending on order of file names |
| 530 |
|
| 531 |
* fix #4026: pylint.el should require compile |
| 532 |
|
| 533 |
* fix a bug in colorized reporter, spotted by Dave Borowitz |
| 534 |
|
| 535 |
* applied patch from Stefan Rank to avoid W0410 false positive when |
| 536 |
multiple "from __future__" import statements |
| 537 |
|
| 538 |
* implement #4012: flag back tick as deprecated (new W0333 message) |
| 539 |
|
| 540 |
* new ignored-class option on typecheck checker allowing to skip members |
| 541 |
checking based on class name (patch provided by Thomas W Barr) |
| 542 |
|
| 543 |
|
| 544 |
What's New in Pylint 0.13.2? |
| 545 |
============================ |
| 546 |
Release date: 2007-06-07 |
| 547 |
|
| 548 |
* fix disable-checker option so that it won't accidentally enable the |
| 549 |
rpython checker which is disabled by default |
| 550 |
|
| 551 |
* added note about the gedit plugin into documentation |
| 552 |
|
| 553 |
|
| 554 |
What's New in Pylint 0.13.1? |
| 555 |
============================ |
| 556 |
Release date: 2007-03-02 |
| 557 |
|
| 558 |
* fix some unexplained 0.13.0 packaging issue which led to a bunch of |
| 559 |
files missing from the distribution |
| 560 |
|
| 561 |
|
| 562 |
What's New in Pylint 0.13.0? |
| 563 |
============================ |
| 564 |
Release date: 2007-02-28 |
| 565 |
|
| 566 |
* new RPython (Restricted Python) checker for PyPy fellow or people |
| 567 |
wanting to get a compiled version of their python program using the |
| 568 |
translator of the PyPy project. For more information about PyPy or |
| 569 |
RPython, visit https://www.pypy.org, previously codespeak.net/pypy/ |
| 570 |
|
| 571 |
* new E0104 and E0105 messages introduced to respectively warn about |
| 572 |
"return" and "yield" outside function or method |
| 573 |
|
| 574 |
* new E0106 message when "yield" and "return something" are mixed in a |
| 575 |
function or method |
| 576 |
|
| 577 |
* new W0107 message for unnecessary pass statement |
| 578 |
|
| 579 |
* new W0614 message to differentiate between unused ``import X`` and |
| 580 |
unused `from X import *` (#3209, patch submitted by Daniel Drake) |
| 581 |
|
| 582 |
* included Daniel Drake's patch to have a different message E1003 instead of |
| 583 |
E1001 when a missing member is found but an inference failure has been |
| 584 |
detected |
| 585 |
|
| 586 |
* msvs reporter for Visual Studio line number reporting (#3285) |
| 587 |
|
| 588 |
* allow disable-all option inline (#3218, patch submitted by Daniel Drake) |
| 589 |
|
| 590 |
* --init-hook option to call arbitrary code necessary to set |
| 591 |
environment (e.g. sys.path) (#3156) |
| 592 |
|
| 593 |
* One more Daniel's patch fixing a command line option parsing |
| 594 |
problem, this'll definitely be the DDrake release :) |
| 595 |
|
| 596 |
* fix #3184: crashes on "return" outside function |
| 597 |
|
| 598 |
* fix #3205: W0704 false positive |
| 599 |
|
| 600 |
* fix #3123: W0212 false positive on static method |
| 601 |
|
| 602 |
* fix #2485: W0222 false positive |
| 603 |
|
| 604 |
* fix #3259: when a message is explicitly enabled, check the checker |
| 605 |
emitting it is enabled |
| 606 |
|
| 607 |
|
| 608 |
What's New in Pylint 0.12.2? |
| 609 |
============================ |
| 610 |
Release date: 2006-11-23 |
| 611 |
|
| 612 |
* fix #3143: W0233 bug w/ YES objects |
| 613 |
|
| 614 |
* fix #3119: Off-by-one error counting lines in a file |
| 615 |
|
| 616 |
* fix #3117: ease sys.stdout overriding for reporters |
| 617 |
|
| 618 |
* fix #2508: E0601 false positive with lambda |
| 619 |
|
| 620 |
* fix #3125: E1101 false positive and a message duplication. Only the last part |
| 621 |
is actually fixed since the initial false positive is due to dynamic setting of |
| 622 |
attributes on the decimal.Context class. |
| 623 |
|
| 624 |
* fix #3149: E0101 false positives and introduced E0100 for generator __init__ |
| 625 |
methods |
| 626 |
|
| 627 |
* fixed some format checker false positives |
| 628 |
|
| 629 |
|
| 630 |
What's New in Pylint 0.12.1? |
| 631 |
============================ |
| 632 |
Release date: 2006-09-25 |
| 633 |
|
| 634 |
* fixed python >= 2.4 format false positive with multiple lines statement |
| 635 |
|
| 636 |
* fixed some 2.5 issues |
| 637 |
|
| 638 |
* fixed generator expression scope bug (depends on astng 0.16.1) |
| 639 |
|
| 640 |
* stop requiring __revision__ |
| 641 |
|
| 642 |
|
| 643 |
What's New in Pylint 0.12.0? |
| 644 |
============================ |
| 645 |
Release date: 2006-08-10 |
| 646 |
|
| 647 |
* usability changes: |
| 648 |
|
| 649 |
* parseable, html and color options are now handled by a single |
| 650 |
output-format option |
| 651 |
|
| 652 |
* enable-<checkerid> and disable-all options are now handled by |
| 653 |
two (exclusive) enable-checker and disable-checker options |
| 654 |
taking a comma separated list of checker names as value |
| 655 |
|
| 656 |
* renamed debug-mode option to errors-only |
| 657 |
|
| 658 |
* started a reference user manual |
| 659 |
|
| 660 |
* new W0212 message for access to protected member from client code |
| 661 |
(Closes #14081) |
| 662 |
|
| 663 |
* new W0105 and W0106 messages extracted from W0104 (statement seems |
| 664 |
to have no effect) respectively when the statement is actually string |
| 665 |
(that's sometimes used instead of comments for documentation) or an |
| 666 |
empty statement generated by a useless semicolon |
| 667 |
|
| 668 |
* reclassified W0302 to C0302 |
| 669 |
|
| 670 |
* fix so that global messages are not anymore connected to the last |
| 671 |
analyzed module (Closes #10106) |
| 672 |
|
| 673 |
* fix some bugs related to local disabling of messages |
| 674 |
|
| 675 |
* fix cr/lf pb when generating the rc file on windows platforms |
| 676 |
|
| 677 |
|
| 678 |
What's New in Pylint 0.11.0? |
| 679 |
============================ |
| 680 |
Release date: 2006-04-19 |
| 681 |
|
| 682 |
* fix crash caused by the exceptions checker in some case |
| 683 |
|
| 684 |
* fix some E1101 false positive with abstract method or classes defining |
| 685 |
__getattr__ |
| 686 |
|
| 687 |
* dirty fix to avoid "_socketobject" has not "connect" member. The actual |
| 688 |
problem is that astng isn't able to understand the code used to create |
| 689 |
socket.socket object with exec |
| 690 |
|
| 691 |
* added an option in the similarity checker to ignore docstrings, enabled |
| 692 |
by default |
| 693 |
|
| 694 |
* included patch from Benjamin Niemann to allow block level |
| 695 |
enabling/disabling of messages |
| 696 |
|
| 697 |
|
| 698 |
What's New in Pylint 0.10.0? |
| 699 |
============================ |
| 700 |
Release date: 2006-03-06 |
| 701 |
|
| 702 |
* WARNING, this release include some configuration changes (see below), |
| 703 |
so you may have to check and update your own configuration file(s) if |
| 704 |
you use one |
| 705 |
|
| 706 |
* this release require the 0.15 version of astng or superior (it will save |
| 707 |
you a lot of pylint crashes...) |
| 708 |
|
| 709 |
* W0705 has been reclassified to E0701, and is now detecting more |
| 710 |
inheriting problem, and a false positive when empty except clause is |
| 711 |
following an Exception catch has been fixed (Closes #10422) |
| 712 |
|
| 713 |
* E0212 and E0214 (metaclass/class method should have mcs/cls as first |
| 714 |
argument have been reclassified to C0202 and C0203 since this not as |
| 715 |
well established as "self" for instance method (E0213) |
| 716 |
|
| 717 |
* W0224 has been reclassified into F0220 (failed to resolve interfaces |
| 718 |
implemented by a class) |
| 719 |
|
| 720 |
* a new typecheck checker, introducing the following checks: |
| 721 |
|
| 722 |
- E1101, access to nonexistent member (implements #10430), remove |
| 723 |
the need of E0201 and so some options has been moved from the |
| 724 |
classes checker to this one |
| 725 |
- E1102, calling a non callable object |
| 726 |
- E1111 and W1111 when an assignment is done on a function call but the |
| 727 |
inferred function returns None (implements #10431) |
| 728 |
|
| 729 |
* change in the base checker: |
| 730 |
|
| 731 |
- checks module level and instance attribute names (new const-rgx |
| 732 |
and attr-rgx configuration option) (implements #10209 and |
| 733 |
#10440) |
| 734 |
- list comprehension and generator expression variables have their |
| 735 |
own regular expression (the inlinevar-rgx option) (implements |
| 736 |
#9146) |
| 737 |
- the C0101 check with its min-name-length option has |
| 738 |
been removed (this can be specified in the regxp after all...) |
| 739 |
- W0103 and W0121 are now handled by the variables checker |
| 740 |
(W0103 is now W0603 and W0604 has been split into different messages) |
| 741 |
- W0131 and W0132 messages have been reclassified to C0111 and |
| 742 |
C0112 respectively |
| 743 |
- new W0104 message on statement without effect |
| 744 |
|
| 745 |
* regexp support for dummy-variables (dummy-variables-rgx option |
| 746 |
replace dummy-variables) (implements #10027) |
| 747 |
|
| 748 |
* better global statement handling, see W0602, W0603, W0604 messages |
| 749 |
(implements #10344 and #10236) |
| 750 |
|
| 751 |
* --debug-mode option, disabling all checkers without error message |
| 752 |
and filtering others to only display error |
| 753 |
|
| 754 |
* fixed some R0201 (method could be a function) false positive |
| 755 |
|
| 756 |
|
| 757 |
What's New in Pylint 0.9.0? |
| 758 |
============================ |
| 759 |
Release date: 2006-01-10 |
| 760 |
|
| 761 |
* a lot of updates to follow astng 0.14 API changes, so install |
| 762 |
logilab-astng 0.14 or greater before using this version of pylint |
| 763 |
|
| 764 |
* checker number 10 ! newstyle will search for problems regarding old |
| 765 |
style / new style classes usage problems (rely on astng 0.14 new |
| 766 |
style detection feature) |
| 767 |
|
| 768 |
* new 'load-plugins' options to load additional pylint plugins (usable |
| 769 |
from the command line or from a configuration file) (implements |
| 770 |
#10031) |
| 771 |
|
| 772 |
* check if a "pylintrc" file exists in the current working directory |
| 773 |
before using the one specified in the PYLINTRC environment variable |
| 774 |
or the default ~/.pylintrc or /etc/pylintrc |
| 775 |
|
| 776 |
* fixed W0706 (Identifier used to raise an exception is assigned...) |
| 777 |
false positive and reraising a caught exception instance |
| 778 |
|
| 779 |
* fixed E0611 (No name get in module blabla) false positive when accessing |
| 780 |
to a class'__dict__ |
| 781 |
|
| 782 |
* fixed some E0203 ("access to member before its definition") false |
| 783 |
positive |
| 784 |
|
| 785 |
* fixed E0214 ("metaclass method first argument should be mcs) false |
| 786 |
positive with staticmethod used on a metaclass |
| 787 |
|
| 788 |
* fixed packaging which was missing the test/regrtest_data directory |
| 789 |
|
| 790 |
* W0212 (method could be a function) has been reclassified in the |
| 791 |
REFACTOR category as R0201, and is no more considerer when a method |
| 792 |
overrides an abstract method from an ancestor class |
| 793 |
|
| 794 |
* include module name in W0401 (wildcard import), as suggested by |
| 795 |
Amaury |
| 796 |
|
| 797 |
* when using the '--parseable', path are written relative to the |
| 798 |
current working directory if in a sub-directory of it (#9789) |
| 799 |
|
| 800 |
* 'pylint --version' shows logilab-astng and logilab-common versions |
| 801 |
|
| 802 |
* fixed pylint.el to handle space in file names |
| 803 |
|
| 804 |
* misc lint style fixes |
| 805 |
|
| 806 |
|
| 807 |
What's New in Pylint 0.8.1? |
| 808 |
============================ |
| 809 |
Release date: 2005-11-07 |
| 810 |
|
| 811 |
* fix "deprecated module" false positive when the code imports a |
| 812 |
module whose name starts with a deprecated module's name (close |
| 813 |
#10061) |
| 814 |
|
| 815 |
* fix "module has no name __dict__" false positive (Closes #10039) |
| 816 |
|
| 817 |
* fix "access to undefined variable __path__" false positive (close |
| 818 |
#10065) |
| 819 |
|
| 820 |
* fix "explicit return in __init__" false positive when return is |
| 821 |
actually in an inner function (Closes #10075) |
| 822 |
|
| 823 |
|
| 824 |
What's New in Pylint 0.8.0? |
| 825 |
============================ |
| 826 |
Release date: 2005-10-21 |
| 827 |
|
| 828 |
* check names imported from a module exists in the module (E0611), |
| 829 |
patch contributed by Amaury Forgeot d'Arc |
| 830 |
|
| 831 |
* print a warning (W0212) for methods that could be a function |
| 832 |
(implements #9100) |
| 833 |
|
| 834 |
* new --defining-attr-methods option on classes checker |
| 835 |
|
| 836 |
* new --acquired-members option on the classes checker, used when |
| 837 |
--zope=yes to avoid false positive on acquired attributes (listed |
| 838 |
using this new option) (Closes #8616) |
| 839 |
|
| 840 |
* generate one E0602 for each use of an undefined variable |
| 841 |
(previously, only one for the first use but not for the following) |
| 842 |
(implements #1000) |
| 843 |
|
| 844 |
* make profile option saveable |
| 845 |
|
| 846 |
* fix Windows .bat file, patch contributed by Amaury Forgeot d'Arc |
| 847 |
|
| 848 |
* fix one more false positive for E0601 (access before definition) |
| 849 |
with for loop such as "for i in range(10): print i" (test |
| 850 |
func_noerror_defined_and_used_on_same_line) |
| 851 |
|
| 852 |
* fix false positive for E0201 (undefined member) when accessing to |
| 853 |
__name__ on a class object |
| 854 |
|
| 855 |
* fix astng checkers traversal order |
| 856 |
|
| 857 |
* fix bug in format checker when parsing a file from a platform |
| 858 |
using different new line characters (Closes #9239) |
| 859 |
|
| 860 |
* fix encoding detection regexp |
| 861 |
|
| 862 |
* fix --rcfile handling (support for --rcfile=file, Closes #9590) |
| 863 |
|
| 864 |
|
| 865 |
What's New in Pylint 0.7.0? |
| 866 |
============================ |
| 867 |
Release date: 2005-05-27 |
| 868 |
|
| 869 |
* WARNING: pylint is no longer a logilab subpackage. Users may have to |
| 870 |
manually remove the old logilab/pylint directory. |
| 871 |
|
| 872 |
* introduce a new --additional-builtins option to handle user defined |
| 873 |
builtins |
| 874 |
|
| 875 |
* --reports option has now -r as short alias, and -i for --include-ids |
| 876 |
|
| 877 |
* fix a bug in the variables checker which may causing some false |
| 878 |
positives when variables are defined and used within the same |
| 879 |
statement (test func_noerror_defined_and_used_on_same_line) |
| 880 |
|
| 881 |
* this time, real fix of the "disable-msg in the config file" problem, |
| 882 |
test added to unittest_lint |
| 883 |
|
| 884 |
* fix bug with --list-messages and python -OO |
| 885 |
|
| 886 |
* fix possible false positive for W0201 |
| 887 |
|
| 888 |
|
| 889 |
What's New in Pylint 0.6.4? |
| 890 |
=========================== |
| 891 |
Release date: 2005-04-14 |
| 892 |
|
| 893 |
* allow to parse files without extension when a path is given on the |
| 894 |
command line (test noext) |
| 895 |
|
| 896 |
* don't fail if we are unable to read an inline option (e.g. inside a |
| 897 |
module), just produce an information message (test func_i0010) |
| 898 |
|
| 899 |
* new message E0103 for break or continue outside loop (Closes #8883, |
| 900 |
test func_continue_not_in_loop) |
| 901 |
|
| 902 |
* fix bug in the variables checker, causing non detection of some |
| 903 |
actual name error (Closes #8884, test |
| 904 |
func_nameerror_on_string_substitution) |
| 905 |
|
| 906 |
* fix bug in the classes checker which was making pylint crash if |
| 907 |
"object" is assigned in a class inheriting from it (test |
| 908 |
func_noerror_object_as_class_attribute) |
| 909 |
|
| 910 |
* fix problem with the similar checker when related options are |
| 911 |
defined in a configuration file |
| 912 |
|
| 913 |
* new --generate-man option to generate pylint's man page (require the |
| 914 |
latest logilab.common (>= 0.9.3) |
| 915 |
|
| 916 |
* packaged (generated...) man page |
| 917 |
|
| 918 |
|
| 919 |
What's New in Pylint 0.6.3? |
| 920 |
=========================== |
| 921 |
Release date: 2005-02-24 |
| 922 |
|
| 923 |
* fix scope problem which may cause false positive and true negative |
| 924 |
on E0602 |
| 925 |
|
| 926 |
* fix problem with some options such as disable-msg causing error when |
| 927 |
they are coming from the configuration file |
| 928 |
|
| 929 |
|
| 930 |
What's New in Pylint 0.6.2? |
| 931 |
============================ |
| 932 |
Release date: 2005-02-16 |
| 933 |
|
| 934 |
* fix false positive on E0201 ("access to undefined member") with |
| 935 |
metaclasses |
| 936 |
|
| 937 |
* fix false positive on E0203 ("access to member before its |
| 938 |
definition") when attributes are defined in a parent class |
| 939 |
|
| 940 |
* fix false positive on W0706 ("identifier used to raise an exception |
| 941 |
assigned to...") |
| 942 |
|
| 943 |
* fix interpretation of "\t" as value for the indent-string |
| 944 |
configuration variable |
| 945 |
|
| 946 |
* fix --rcfile so that --rcfile=pylintrc (only --rcfile pylintrc was |
| 947 |
working in earlier release) |
| 948 |
|
| 949 |
* new raw checker example in the examples/ directory |
| 950 |
|
| 951 |
|
| 952 |
What's New in Pylint 0.6.1? |
| 953 |
=========================== |
| 954 |
Release date: 2005-02-04 |
| 955 |
|
| 956 |
* new --rcfile option to specify the configuration file without the |
| 957 |
PYLINTRC environment variable |
| 958 |
|
| 959 |
* added an example module for a custom pylint checker (see the |
| 960 |
example/ directory) |
| 961 |
|
| 962 |
* some fixes to handle fixes in common 0.9.1 (should however still working |
| 963 |
with common 0.9.0, even if upgrade is recommended) |
| 964 |
|
| 965 |
|
| 966 |
What's New in Pylint 0.6.0? |
| 967 |
=========================== |
| 968 |
Release date: 2005-01-20 |
| 969 |
|
| 970 |
* refix pylint Emacs mode |
| 971 |
|
| 972 |
* no more traceback when just typing "pylint" |
| 973 |
|
| 974 |
* fix a bug which may cause crashes on resolving parent classes |
| 975 |
|
| 976 |
* fix problems with the format checker: don't chock on files |
| 977 |
containing multiple CR, avoid C0322, C0323, C0324 false positives |
| 978 |
with triple quoted string with quote inside |
| 979 |
|
| 980 |
* correctly detect access to member defined latter in __init__ method |
| 981 |
|
| 982 |
* now depends on common 0.8.1 to fix problem with interface resolution |
| 983 |
(Closes #8606) |
| 984 |
|
| 985 |
* new --list-msgs option describing available checkers and their |
| 986 |
messages |
| 987 |
|
| 988 |
* added windows specific documentation to the README file, contributed |
| 989 |
by Brian van den Broek |
| 990 |
|
| 991 |
* updated doc/features.txt (actually this file is now generated using |
| 992 |
the --list-msgs option), more entries into the FAQ |
| 993 |
|
| 994 |
* improved tests coverage |
| 995 |
|
| 996 |
|
| 997 |
What's New in Pylint 0.5.0? |
| 998 |
=========================== |
| 999 |
Release date: 2004-10-19 |
| 1000 |
|
| 1001 |
* avoid importing analyzed modules ! |
| 1002 |
|
| 1003 |
* new Refactor and Convention message categories. Some Warnings have been |
| 1004 |
remapped into those new categories |
| 1005 |
|
| 1006 |
* added "similar", a tool to find copied and pasted lines of code, |
| 1007 |
both using a specific command line tool and integrated as a |
| 1008 |
pylint's checker |
| 1009 |
|
| 1010 |
* imports checker may report import dependencies as a dot graph |
| 1011 |
|
| 1012 |
* new checker regrouping most Refactor detection (with some new metrics) |
| 1013 |
|
| 1014 |
* more command line options storable in the configuration file |
| 1015 |
|
| 1016 |
* fix bug with total / undocumented number of methods |
| 1017 |
|
| 1018 |
|
| 1019 |
What's New in Pylint 0.4.2? |
| 1020 |
=========================== |
| 1021 |
Release date: 2004-07-08 |
| 1022 |
|
| 1023 |
* fix pylint Emacs mode |
| 1024 |
|
| 1025 |
* fix classes checkers to handler twisted interfaces |
| 1026 |
|
| 1027 |
|
| 1028 |
What's New in Pylint 0.4.1? |
| 1029 |
=========================== |
| 1030 |
Release date: 2004-05-14 |
| 1031 |
|
| 1032 |
* fix the setup.py script to allow bdist_winst (well, the generated |
| 1033 |
installer has not been tested...) with the necessary |
| 1034 |
logilab/__init__.py file |
| 1035 |
|
| 1036 |
* fix file naming convention as suggested by Andreas Amoroso |
| 1037 |
|
| 1038 |
* fix stupid crash bug with bad method names |
| 1039 |
|
| 1040 |
|
| 1041 |
What's New in Pylint 0.4.0? |
| 1042 |
=========================== |
| 1043 |
Release date: 2004-05-10 |
| 1044 |
|
| 1045 |
* fix file path with --parsable |
| 1046 |
|
| 1047 |
* --parsable option has been renamed to --parseable |
| 1048 |
|
| 1049 |
* added patch from Andreas Amoroso to output message to files instead |
| 1050 |
of standard output |
| 1051 |
|
| 1052 |
* added Run to the list of correct variable names |
| 1053 |
|
| 1054 |
* fix variable names regexp and checking of local classes names |
| 1055 |
|
| 1056 |
* some basic handling of metaclasses |
| 1057 |
|
| 1058 |
* no-docstring-rgx apply now on classes too |
| 1059 |
|
| 1060 |
* new option to specify a different regexp for methods than for |
| 1061 |
functions |
| 1062 |
|
| 1063 |
* do not display the evaluation report when no statements has been |
| 1064 |
analysed |
| 1065 |
|
| 1066 |
* fixed crash with a class nested in a method |
| 1067 |
|
| 1068 |
* fixed format checker to deals with triple quoted string and |
| 1069 |
lines with code and comment mixed |
| 1070 |
|
| 1071 |
* use logilab.common.ureports to layout reports |
| 1072 |
|
| 1073 |
|
| 1074 |
What's New in Pylint 0.3.3? |
| 1075 |
=========================== |
| 1076 |
Release date: 2004-02-17 |
| 1077 |
|
| 1078 |
* added a parsable text output, used when the --parsable option is |
| 1079 |
provided |
| 1080 |
|
| 1081 |
* added an Emacs mode using this output, available in the distrib's |
| 1082 |
elisp directory |
| 1083 |
|
| 1084 |
* fixed some typos in messages |
| 1085 |
|
| 1086 |
* change include-ids options to yn, and allow it to be in the |
| 1087 |
configuration file |
| 1088 |
|
| 1089 |
* do not chock on corrupted stats files |
| 1090 |
|
| 1091 |
* fixed bug in the format checker which may stop pylint execution |
| 1092 |
|
| 1093 |
* provide scripts for unix and windows to wrap the minimal pylint tk |
| 1094 |
gui |
| 1095 |
|
| 1096 |
|
| 1097 |
What's New in Pylint 0.3.2? |
| 1098 |
=========================== |
| 1099 |
Release date: 2003-12-23 |
| 1100 |
|
| 1101 |
* html-escape messages in the HTML reporter (bug reported by Juergen |
| 1102 |
Hermann) |
| 1103 |
|
| 1104 |
* added "TODO" to the list of default note tags |
| 1105 |
|
| 1106 |
* added "rexec" to the list of default deprecated modules |
| 1107 |
|
| 1108 |
* fixed typos in some messages |
| 1109 |
|
| 1110 |
|
| 1111 |
What's New in Pylint 0.3.1? |
| 1112 |
=========================== |
| 1113 |
Release date: 2003-12-05 |
| 1114 |
|
| 1115 |
* bug fix in format and classes checkers |
| 1116 |
|
| 1117 |
* remove print statement from imports checkers |
| 1118 |
|
| 1119 |
* provide a simple tk gui, essentially useful for windows users |
| 1120 |
|
| 1121 |
|
| 1122 |
What's New in Pylint 0.3.0? |
| 1123 |
=========================== |
| 1124 |
Release date: 2003-11-20 |
| 1125 |
|
| 1126 |
* new exceptions checker, checking for string exception and empty |
| 1127 |
except clauses. |
| 1128 |
|
| 1129 |
* imports checker checks for reimport of modules |
| 1130 |
|
| 1131 |
* classes checker checks for calls to ancestor's __init__ and abstract |
| 1132 |
method not overridden. It doesn't complain anymore for unused import in |
| 1133 |
__init__ files, and provides a new option ignore-interface-methods, |
| 1134 |
useful when you're using zope Interface implementation in your project |
| 1135 |
|
| 1136 |
* base checker checks for disallowed builtins call (controlled by the |
| 1137 |
bad-functions option) and for use of * and ** |
| 1138 |
|
| 1139 |
* format checker checks for use of <> and "l" as long int marker |
| 1140 |
|
| 1141 |
* major internal API changes |
| 1142 |
|
| 1143 |
* use the rewrite of astng, based on compiler.ast |
| 1144 |
|
| 1145 |
* added unique id for messages, as suggested by Wolfgang Grafen |
| 1146 |
|
| 1147 |
* added unique id for reports |
| 1148 |
|
| 1149 |
* can take multiple modules or files as argument |
| 1150 |
|
| 1151 |
* new options command line options : --disable-msg, --enable-msg, |
| 1152 |
--help-msg, --include-ids, --reports, --disable-report, --cache-size |
| 1153 |
|
| 1154 |
* --version shows the version of the python interpreter |
| 1155 |
|
| 1156 |
* removed some options which are now replaced by [en|dis]able-msg, or |
| 1157 |
disable-report |
| 1158 |
|
| 1159 |
* read disable-msg and enable-msg options in source files (should be |
| 1160 |
in comments on the top of the file, in the form |
| 1161 |
"# pylint: disable-msg=W0402" |
| 1162 |
|
| 1163 |
* new message for modules importing themselves instead of the "cyclic |
| 1164 |
import" message |
| 1165 |
|
| 1166 |
* fix bug with relative and cyclic imports |
| 1167 |
|
| 1168 |
* fix bug in imports checker (cycle was not always detected) |
| 1169 |
|
| 1170 |
* still fixes in format checker : don't check comment and docstring, |
| 1171 |
check first line after an indent |
| 1172 |
|
| 1173 |
* allowed/prohibited names now apply to all identifiers, not only |
| 1174 |
variables, so changed the configuration option from |
| 1175 |
(good|bad)-variable-names to (good|bad)-names |
| 1176 |
|
| 1177 |
* added string, rexec and Bastion to the default list of deprecated |
| 1178 |
modules |
| 1179 |
|
| 1180 |
* do not print redefinition warning for function/class/method defined |
| 1181 |
in mutually exclusive branches |
| 1182 |
|
| 1183 |
|
| 1184 |
What's New in Pylint 0.2.1? |
| 1185 |
=========================== |
| 1186 |
Release date: 2003-10-10 |
| 1187 |
|
| 1188 |
* added some documentation, fixed some typos |
| 1189 |
|
| 1190 |
* set environment variable PYLINT_IMPORT to 1 during pylint execution. |
| 1191 |
|
| 1192 |
* check that variables "imported" using the global statement exist |
| 1193 |
|
| 1194 |
* indentation problems are now warning instead of errors |
| 1195 |
|
| 1196 |
* fix checkers.initialize to try to load all files with a known python |
| 1197 |
extension (patch from wrobell) |
| 1198 |
|
| 1199 |
* fix a bunch of messages |
| 1200 |
|
| 1201 |
* fix sample configuration file |
| 1202 |
|
| 1203 |
* fix the bad-construction option |
| 1204 |
|
| 1205 |
* fix encoding checker |
| 1206 |
|
| 1207 |
* fix format checker |
| 1208 |
|
| 1209 |
|
| 1210 |
What's New in Pylint 0.2.0? |
| 1211 |
=========================== |
| 1212 |
Release date: 2003-09-12 |
| 1213 |
|
| 1214 |
* new source encoding / FIXME checker (pep 263) |
| 1215 |
|
| 1216 |
* new --zope option which trigger Zope import. Useful to check Zope |
| 1217 |
products code. |
| 1218 |
|
| 1219 |
* new --comment option which enable the evaluation note comment |
| 1220 |
(disabled by default). |
| 1221 |
|
| 1222 |
* a ton of bug fixes |
| 1223 |
|
| 1224 |
* easy functional test infrastructure |
| 1225 |
|
| 1226 |
|
| 1227 |
What's New in Pylint 0.1.2? |
| 1228 |
=========================== |
| 1229 |
Release date: 2003-06-18 |
| 1230 |
|
| 1231 |
* bug fix release |
| 1232 |
|
| 1233 |
* remove dependency to pyreverse |
| 1234 |
|
| 1235 |
|
| 1236 |
What's New in Pylint 0.1.1? |
| 1237 |
=========================== |
| 1238 |
Release date: 2003-06-01 |
| 1239 |
|
| 1240 |
* much more functionalities ! |
| 1241 |
|
| 1242 |
|
| 1243 |
What's New in Pylint 0.1? |
| 1244 |
=========================== |
| 1245 |
Release date: 2003-05-19 |
| 1246 |
|
| 1247 |
* initial release |