Skip to content

Commit fd0eb6c

Browse files
Bump pylint to 2.13.0, update changelog
Create the release summary upgrade the release process. Bump pylint to 2.13.0, update changelog
1 parent 1c509ed commit fd0eb6c

File tree

5 files changed

+50
-18
lines changed

5 files changed

+50
-18
lines changed

ChangeLog

+27-14
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,29 @@
22
Pylint's ChangeLog
33
------------------
44

5-
What's New in Pylint 2.13.0?
5+
What's New in Pylint 2.14.0?
66
============================
77
Release date: TBA
88

99
..
10-
Put new features here and also in 'doc/whatsnew/2.13.rst'
10+
Put new features here and also in 'doc/whatsnew/2.14.rst'
11+
12+
13+
14+
..
15+
Insert your changelog randomly, it will reduce merge conflicts
16+
(Ie. not necessarily at the end)
17+
18+
19+
What's New in Pylint 2.13.1?
20+
============================
21+
Release date: TBA
22+
23+
24+
25+
What's New in Pylint 2.13.0?
26+
============================
27+
Release date: 2022-03-24
1128

1229
* Add missing dunder methods to ``unexpected-special-method-signature`` check.
1330

@@ -518,10 +535,6 @@ Release date: TBA
518535

519536
Closes #214
520537

521-
..
522-
Insert your changelog randomly, it will reduce merge conflicts
523-
(Ie. not necessarily at the end)
524-
525538
* Improve ``invalid-name`` check for ``TypeVar`` names.
526539
The accepted pattern can be customized with ``--typevar-rgx``.
527540

@@ -531,6 +544,14 @@ Release date: TBA
531544
or contravariant ``TypeVar`` does not end with ``_co`` or ``_contra`` respectively or
532545
when a ``TypeVar`` is not either but has a suffix.
533546

547+
* Allow usage of mccabe 0.7.x release
548+
549+
Closes #5878
550+
551+
* Fix ``unused-private-member`` false positive when accessing private methods through ``property``.
552+
553+
Closes #4756
554+
534555

535556
What's New in Pylint 2.12.2?
536557
============================
@@ -577,10 +598,6 @@ Release date: 2021-11-25
577598

578599
Closes #5316
579600

580-
* Allow usage of mccabe 0.7.x release
581-
582-
Closes #5878
583-
584601

585602
What's New in Pylint 2.12.1?
586603
============================
@@ -609,10 +626,6 @@ Release date: 2021-11-24
609626

610627
Closes #4412 #5287
611628

612-
* Fix ``unused-private-member`` false positive when accessing private methods through ``property``.
613-
614-
Closes #4756
615-
616629
* Fix ``install graphiz`` message which isn't needed for puml output format.
617630

618631
* ``MessageTest`` of the unittest ``testutil`` now requires the ``confidence`` attribute

doc/release.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ So, you want to release the `X.Y.Z` version of pylint ?
88
the maintenance branch. If so, release a last patch release first. See
99
`Releasing a patch version`.**
1010

11+
- Write the `Summary -- Release highlights` in `doc/whatsnew` and upgrade the release
12+
date.
1113
- Remove the empty changelog for the last unreleased patch version `X.Y-1.Z'`. (For
1214
example: `v2.3.5`)
1315
- Check the result of `git diff vX.Y-1.Z' ChangeLog`. (For example:
@@ -36,7 +38,6 @@ Check the commit, fixup the 'wip' commit with the what's new then push to a rele
3638
branch
3739

3840
- Open a merge request with the two commits (no one can push directly on `main`)
39-
- Trigger the "release tests" workflow in GitHub Actions.
4041
- After the merge, recover the merged commits on `main` and tag the first one (the
4142
version should be `X.Y.Z`) as `vX.Y.Z` (For example: `v2.4.0`)
4243
- Push the tag.

doc/whatsnew/2.13.rst

+19-1
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,29 @@
33
***************************
44

55
:Release: 2.13
6-
:Date: TBA
6+
:Date: 2022-03-24
77

88
Summary -- Release highlights
99
=============================
1010

11+
In 2.13, we introduced a new check to deal with unicode security issues. On top of that a lot of work was
12+
done inside the unicode checker by @CarliJoy. We also introduced a new check when importing private name
13+
and for unnecessary ellipsis among other.
14+
15+
We fixed long standing issues related to duplicate code that could not be disabled, line numbers
16+
that were not accurate some of the time, and added the ability to lint all files in a directory without
17+
specifying each one. One of the most anticipated issue from the repository. Thank you @matusvalo !
18+
19+
A lot of ``undefined-variables`` and ``used-before-assignment`` issues were resolved thanks to @jacobtylerwalls.
20+
21+
We started integrating ``pylint-error`` the documentation created by @vald-phoenix a developer from Hlyniane,
22+
Ukraine. We hope he's doing well despite the current situation. The deployment is set up but `there's still a lot to do so we welcome any community effort
23+
help to review, integrate, and add good/bad examples <https://github.com/PyCQA/pylint/issues/5953>`_. This should be doable
24+
without any pylint or astroid knowledge, so this is the perfect entrypoint if you want to contribute
25+
to pylint without investing any time learning the internals.
26+
27+
This release is the last one to support interpreter below 3.7.2, 3.6 end of life was reached in december 2021.
28+
1129
New checkers
1230
============
1331

pylint/__pkginfo__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
from typing import Tuple
66

7-
__version__ = "2.13.0-dev0"
7+
__version__ = "2.13.0"
88

99

1010
def get_numversion_from_version(v: str) -> Tuple:

tbump.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
github_url = "https://github.com/PyCQA/pylint"
22

33
[version]
4-
current = "2.13.0-dev0"
4+
current = "2.13.0"
55
regex = '''
66
^(?P<major>0|[1-9]\d*)
77
\.

0 commit comments

Comments
 (0)