Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pylint to 3.0.1, update changelog #9119

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/exts/pylint_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ def get_plugins_info(
return by_checker


def setup(app: Sphinx) -> dict[str, str]:
def setup(app: Sphinx) -> dict[str, str | bool]:
app.connect("builder-inited", builder_inited)
return {"version": sphinx.__display_version__}
return {"version": sphinx.__display_version__, "parallel_read_safe": True}


if __name__ == "__main__":
Expand Down
22 changes: 22 additions & 0 deletions doc/whatsnew/3/3.0/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,28 @@ easier to parse and provides more info, here's a sample output.

.. towncrier release notes start

What's new in Pylint 3.0.1?
---------------------------
Release date: 2023-10-05


False Positives Fixed
---------------------

- Fixed false positive for ``inherit-non-class`` for generic Protocols.

Closes #9106 (`#9106 <https://github.com/pylint-dev/pylint/issues/9106>`_)



Other Changes
-------------

- Fix a crash when an enum class which is also decorated with a ``dataclasses.dataclass`` decorator is defined.

Closes #9100 (`#9100 <https://github.com/pylint-dev/pylint/issues/9100>`_)


What's new in Pylint 3.0.0?
---------------------------
Release date: 2023-10-02
Expand Down
3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/9100.other

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/9106.false_positive

This file was deleted.

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

from __future__ import annotations

__version__ = "3.0.0"
__version__ = "3.0.1"


def get_numversion_from_version(v: str) -> tuple[int, int, int]:
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/pylint-dev/pylint"

[version]
current = "3.0.0"
current = "3.0.1"
regex = '''
^(?P<major>0|[1-9]\d*)
\.
Expand Down
2 changes: 1 addition & 1 deletion towncrier.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.towncrier]
version = "3.0.0"
version = "3.0.1"
directory = "doc/whatsnew/fragments"
filename = "doc/whatsnew/3/3.0/index.rst"
template = "doc/whatsnew/fragments/_template.rst"
Expand Down