|
2 | 2 | Pylint's ChangeLog
|
3 | 3 | ------------------
|
4 | 4 |
|
5 |
| -What's New in Pylint 2.6.1? |
| 5 | +What's New in Pylint 2.7.0? |
6 | 6 | ===========================
|
7 | 7 |
|
8 |
| -Release date: TBA |
| 8 | +* Python 3.6+ is now required. |
| 9 | + |
| 10 | +* Bug fix for empty-comment message line number. |
| 11 | + |
| 12 | + Closes #4009 |
| 13 | + |
| 14 | +* Only emit `bad-reversed-sequence` on dictionaries if below py3.8 |
| 15 | + |
| 16 | + Closes #3940 |
| 17 | + |
| 18 | +* Handle class decorators applied to function. |
| 19 | + |
| 20 | + Closes #3882 |
| 21 | + |
| 22 | +* Add check for empty comments |
| 23 | + |
| 24 | +* Fix minor documentation issue in contribute.rst |
| 25 | + |
| 26 | +* Enums are now required to be named in UPPER_CASE by ``invalid-name``. |
| 27 | + |
| 28 | + Close #3834 |
| 29 | + |
| 30 | +* Add missing checks for deprecated functions. |
| 31 | + |
| 32 | +* Postponed evaluation of annotations are now recognized by default if python version is above 3.10 |
| 33 | + |
| 34 | + Closes #3992 |
| 35 | + |
| 36 | +* Fix column metadata for anomalous backslash lints |
| 37 | + |
| 38 | +* Drop support for Python 3.5 |
| 39 | + |
| 40 | +* Add support for pep585 with postponed evaluation |
| 41 | + |
| 42 | + Closes #3320 |
| 43 | + |
| 44 | +* Check alternative union syntax - PEP 604 |
| 45 | + |
| 46 | + Closes #4065 |
| 47 | + |
| 48 | +* Fix multiple false positives with assignment expressions |
| 49 | + |
| 50 | + Closes #3347, #3953, #3865, #3275 |
| 51 | + |
| 52 | +* Fix TypedDict inherit-non-class false-positive Python 3.9+ |
| 53 | + |
| 54 | + Closes #1927 |
| 55 | + |
| 56 | +* Fix issue with nested PEP 585 syntax |
| 57 | + |
| 58 | +* Fix issue with nested PEP 604 syntax |
| 59 | + |
| 60 | +* Fix a crash in `undefined-variable` caused by chained attributes in metaclass |
| 61 | + |
| 62 | + Close #3742 |
| 63 | + |
| 64 | +* Fix false positive for `not-async-context-manager` when `contextlib.asynccontextmanager` is used |
| 65 | + |
| 66 | + Close #3862 |
| 67 | + |
| 68 | +* Fix linter multiprocessing pool shutdown (triggered warnings when runned in parallels with other pytest plugins) |
| 69 | + |
| 70 | + Closes #3779 |
| 71 | + |
| 72 | +* Fix a false-positive emission of `no-self-use` and `unused-argument` for methods |
| 73 | + of generic structural types (`Protocol[T]`) |
| 74 | + |
| 75 | + Closes #3885 |
| 76 | + |
| 77 | +* Fix bug that lead to duplicate messages when using ``--jobs 2`` or more. |
| 78 | + |
| 79 | + Close #3584 |
| 80 | + |
| 81 | +* Adds option ``check-protected-access-in-special-methods`` in the ClassChecker to activate/deactivate |
| 82 | + ``protected-access`` message emission for single underscore prefixed attribute in special methods. |
| 83 | + |
| 84 | + Close #3120 |
| 85 | + |
| 86 | +* Fix vulnerable regular expressions in ``pyreverse`` |
| 87 | + |
| 88 | + Close #3811 |
9 | 89 |
|
10 | 90 | * ``inconsistent-return-statements`` message is now emitted if one of ``try/except`` statement
|
11 | 91 | is not returning explicitly while the other do.
|
12 | 92 |
|
13 | 93 | Closes #3468
|
14 |
| - |
| 94 | + |
15 | 95 | * Fix ``useless-super-delegation`` false positive when default keyword argument is a dictionnary.
|
16 | 96 |
|
17 | 97 | Close #3773
|
18 | 98 |
|
19 | 99 | * Fix a crash when a specified config file does not exist
|
20 | 100 |
|
| 101 | +* Add support to ``ignored-argument-names`` in DocstringParameterChecker and adds `useless-param-doc` and `useless-type-doc` messages. |
| 102 | + |
| 103 | + Close #3800 |
| 104 | + |
| 105 | +* Enforce docparams consistently when docstring is not present |
| 106 | + |
| 107 | + Close #2738 |
| 108 | + |
| 109 | +* Fix ``duplicate-code`` false positive when lines only contain whitespace and non-alphanumeric characters (e.g. parentheses, bracket, comman, etc.) |
| 110 | + |
| 111 | +* Improve lint message for `singleton-comparison` with bools |
| 112 | + |
| 113 | +* Fix spell-checker crash on indented docstring lines that look like # comments |
| 114 | + |
| 115 | + Close #3786 |
| 116 | + |
| 117 | +* Fix AttributeError in checkers/refactoring.py |
| 118 | + |
| 119 | +* Improve sphinx directives spelling filter |
| 120 | + |
| 121 | +* Fix a bug with postponed evaluation when using aliases for annotations. |
| 122 | + |
| 123 | + Close #3798 |
| 124 | + |
| 125 | +* Fix minor documentation issues |
| 126 | + |
| 127 | +* Improve the performance of the line length check. |
| 128 | + |
| 129 | +* Removed incorrect deprecation of ``inspect.getfullargspec`` |
| 130 | + |
| 131 | +* Fix ``signature-differs`` false positive for functions with variadics |
| 132 | + |
| 133 | + Close #3737 |
| 134 | + |
| 135 | +* Fix a crash in `consider-using-enumerate` when encountering `range()` without arguments |
| 136 | + |
| 137 | + Close #3735 |
| 138 | + |
| 139 | +* `len-as-conditions` is now triggered only for classes that are inheriting directly from list, dict, or set and not implementing the `__bool__` function, or from generators like range or list/dict/set comprehension. This should reduce the false positives for other classes, like pandas's DataFrame or numpy's Array. |
| 140 | + |
| 141 | + Close #1879 |
| 142 | + |
| 143 | +* Fixes duplicate-errors not working with -j2+ |
| 144 | + |
| 145 | + Close #3314 |
| 146 | + |
| 147 | +* `generated-members` now matches the qualified name of members |
| 148 | + |
| 149 | + Close #2498 |
| 150 | + |
| 151 | +* Add check for bool function to `len-as-condition` |
| 152 | + |
| 153 | +* Add `simplifiable-condition` check for extraneous constants in conditionals using and/or. |
| 154 | + |
| 155 | +* Add `condition-evals-to-constant` check for conditionals using and/or that evaluate to a constant. |
| 156 | + |
| 157 | + Close #3407 |
| 158 | + |
| 159 | +* Changed setup.py to work with [distlib](https://pypi.org/project/distlib) |
| 160 | + |
| 161 | + Close #3555 |
| 162 | + |
| 163 | +What's New in Pylint 2.6.1? |
| 164 | +=========================== |
| 165 | + |
| 166 | +* Astroid version has been set as < 2.5 |
| 167 | + |
| 168 | + Close #4093 |
| 169 | + |
| 170 | + |
21 | 171 | What's New in Pylint 2.6.0?
|
22 | 172 | ===========================
|
23 | 173 |
|
@@ -67,13 +217,6 @@ Release date: 2020-08-20
|
67 | 217 |
|
68 | 218 | Close #3722
|
69 | 219 |
|
70 |
| -* Add check for bool function to `len-as-condition` |
71 |
| - |
72 |
| -* Add `simplifiable-condition` check for extraneous constants in conditionals using and/or. |
73 |
| - |
74 |
| -* Add `condition-evals-to-constant` check for conditionals using and/or that evaluate to a constant. |
75 |
| - |
76 |
| - Close #3407 |
77 | 220 |
|
78 | 221 | What's New in Pylint 2.5.4?
|
79 | 222 | ===========================
|
|
0 commit comments