Skip to content

Commit

Permalink
Bump pylint to 2.13.1, update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Mar 26, 2022
1 parent 4a05794 commit 0e1ca11
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ contributors:
- David Gilman <davidgilman1@gmail.com>
- Andrew Haigh <nelfin@gmail.com> (nelfin)
- へーさん <hira9603859504@gmail.com>
- orSolocate <38433858+orSolocate@users.noreply.github.com>
- Thomas Hisch <t.hisch@gmail.com>
- Marianna Polatoglou <mpolatoglou@bloomberg.net>: minor contribution for wildcard import check
- Manuel Vázquez Acosta <mva.led@gmail.com>
Expand All @@ -138,7 +139,6 @@ contributors:
* Added new extension which detects comparing integers to zero,
* Added new useless-return checker,
* Added new try-except-raise checker
- orSolocate <38433858+orSolocate@users.noreply.github.com>
- Téo Bouvard <teobouvard@gmail.com>
- Tushar Sadhwani <tushar.sadhwani000@gmail.com> (tusharsadhwani)
- Mihai Balint <balint.mihai@gmail.com>
Expand Down
9 changes: 8 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,22 @@ Release date: TBA
Put new features here and also in 'doc/whatsnew/2.14.rst'



..
Insert your changelog randomly, it will reduce merge conflicts
(Ie. not necessarily at the end)


What's New in Pylint 2.13.1?
What's New in Pylint 2.13.2?
============================
Release date: TBA



What's New in Pylint 2.13.1?
============================
Release date: 2022-03-26

* Fix a regression in 2.13.0 where ``used-before-assignment`` was emitted for
the usage of a nonlocal in a try block.

Expand Down
7 changes: 5 additions & 2 deletions doc/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ branch
appropriate changelog in the description. This triggers the PyPI release.
- Delete the `maintenance/X.Y-1.x` branch. (For example: `maintenance/2.3.x`)
- Create a `maintenance/X.Y.x` (For example: `maintenance/2.4.x` from the `v2.4.0` tag.)
- Close the current milestone and create the new ones (For example: close `2.4.0`,
create `2.4.1` and `2.6.0`)

## Backporting a fix from `main` to the maintenance branch

Expand All @@ -67,8 +69,7 @@ cherry-picked on the maintenance branch.
- Install the release dependencies: `pip3 install -r requirements_test.txt`
- Bump the version and release by using `tbump X.Y-1.Z --no-push`. (For example:
`tbump 2.3.5 --no-push`)
- Check the result visually and then by triggering the "release tests" workflow in
GitHub Actions first.
- Check the result visually with `git show`.
- Push the tag.
- Release the version on GitHub with the same name as the tag and copy and paste the
appropriate changelog in the description. This triggers the PyPI release.
Expand All @@ -77,6 +78,8 @@ cherry-picked on the maintenance branch.
`pre-commit autoupdate` works for pylint.
- Fix version conflicts properly, or bump the version to `X.Y.0-devZ` (For example:
`2.4.0-dev6`) before pushing on the main branch
- Close the current milestone and create the new one (For example: close `2.3.5`, create
`2.3.6`)

## Milestone handling

Expand Down
2 changes: 1 addition & 1 deletion pylint/__pkginfo__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from typing import Tuple

__version__ = "2.13.0"
__version__ = "2.13.1"


def get_numversion_from_version(v: str) -> Tuple:
Expand Down
2 changes: 1 addition & 1 deletion tbump.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github_url = "https://github.com/PyCQA/pylint"

[version]
current = "2.13.0"
current = "2.13.1"
regex = '''
^(?P<major>0|[1-9]\d*)
\.
Expand Down

0 comments on commit 0e1ca11

Please sign in to comment.