Skip to content

Bump pylint to 3.0.0b0, update changelog #9065

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

Merged
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
15 changes: 11 additions & 4 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ Maintainers
- Dani Alcala <[email protected]>
- Łukasz Rogalski <[email protected]>
- Ashley Whetter <[email protected]>
- Nick Drozd <[email protected]>: performance improvements to astroid
- Bryce Guinta <[email protected]>
- Yu Shao, Pang <[email protected]>
- Nick Drozd <[email protected]>: performance improvements to astroid
- Dimitri Prybysh <[email protected]>
* multiple-imports, not-iterable, not-a-mapping, various patches.
- Roy Williams <[email protected]> (Lyft)
Expand Down Expand Up @@ -157,6 +157,8 @@ contributors:
* Added new useless-return checker,
* Added new try-except-raise checker
- Téo Bouvard <[email protected]>
- Stavros Ntentos <[email protected]>
- Nicolas Boulenguez <[email protected]>
- Mihai Balint <[email protected]>
- Mark Bell <[email protected]>
- Levi Gruspe <[email protected]>
Expand All @@ -170,9 +172,9 @@ contributors:
- Andreas Freimuth <[email protected]>: fix indentation checking with tabs
- Alexandru Coman <[email protected]>
- jpkotta <[email protected]>
- crazybolillo <[email protected]>
- Takahide Nojima <[email protected]>
- Taewon D. Kim <[email protected]>
- Stavros Ntentos <[email protected]>
- Sneaky Pete <[email protected]>
- Sergey B Kirpichev <[email protected]>
- Sandro Tosi <[email protected]>: Debian packaging
Expand Down Expand Up @@ -245,7 +247,6 @@ contributors:
- xmo-odoo <[email protected]>
- tbennett0 <[email protected]>
- omarandlorraine <[email protected]>
- crazybolillo <[email protected]>
- craig-sh <[email protected]>
- bernie gray <[email protected]>
- Wes Turner <[email protected]> (Google): added new check 'inconsistent-quotes'
Expand Down Expand Up @@ -378,9 +379,11 @@ contributors:
- Tim Gates <[email protected]>
- Théo Battrel <[email protected]>
- Thomas Benhamou <[email protected]>
- Theodore Ni <[email protected]>
- Tanvi Moharir <[email protected]>: Fix for invalid toml config
- T.Rzepka <[email protected]>
- Svetoslav Neykov <[email protected]>
- SubaruArai <[email protected]>
- Stéphane Wirtel <[email protected]>: nonlocal-without-binding
- Stephen Longofono <[email protected]>
- Stephane Odul <[email protected]>
Expand Down Expand Up @@ -429,6 +432,7 @@ contributors:
- Niko Wenselowski <[email protected]>
- Nikita Sobolev <[email protected]>
- Nick Smith <[email protected]>
- Neowizard <[email protected]>
- Ned Batchelder <[email protected]>
- Natalie Serebryakova <[email protected]>
- Moody <[email protected]>
Expand Down Expand Up @@ -503,6 +507,7 @@ contributors:
- Hayden Richards <[email protected]>
* Fixed "no-self-use" for async methods
* Fixed "docparams" extension for async functions and methods
- Hashem Nasarat <[email protected]>
- Harshil <[email protected]>
- Harry <[email protected]>
- Grégoire <[email protected]>
Expand Down Expand Up @@ -532,6 +537,7 @@ contributors:
- Daniele Procida <[email protected]>
- Daniela Plascencia <[email protected]>
- Daniel Werner <[email protected]>
- Daniel Wang <[email protected]>
- Daniel R. Neal <[email protected]> (danrneal)
- Daniel Draper <[email protected]>
- Daniel Dorani <[email protected]> (doranid)
Expand Down Expand Up @@ -564,7 +570,6 @@ contributors:
- Arun Persaud <[email protected]>
- Arthur Lutz <[email protected]>
- Antonio Ossa <[email protected]>
- Antonio <[email protected]>
- Anthony VEREZ <[email protected]>
- Anthony Tan <[email protected]>
- Anthony Foglia <[email protected]> (Google): Added simple string slots check.
Expand All @@ -581,11 +586,13 @@ contributors:
- Alex Mor <[email protected]>
- Alex Jurkiewicz <[email protected]>
- Alex Hearn <[email protected]>
- Aleksander Mamla <[email protected]>
- Alan Evangelista <[email protected]>
- Alan Chan <[email protected]>
- Aivar Annamaa <[email protected]>
- Aidan Haase <[email protected]>
- Ahirnish Pareek <[email protected]>: 'keyword-arg-before-var-arg' check
- Agustin Marquez <[email protected]>
- Adrian Chirieac <[email protected]>
- Aditya Gupta <[email protected]> (adityagupta1089)
* Added ignore_signatures to duplicate checker
Expand Down
4 changes: 2 additions & 2 deletions doc/exts/pylint_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ def builder_inited(app: Sphinx | None) -> None:
print_full_documentation(linter, stream, False)


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
5 changes: 3 additions & 2 deletions examples/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,9 @@ evaluation=max(0, 0 if fatal else 10.0 - ((float(5 * error + warning + refactor
# used to format the message information. See doc for all details.
msg-template=

# Set the output format. Available formats are text, parseable, colorized, json
# and msvs (visual studio). You can also give a reporter class, e.g.
# Set the output format. Available formats are: text, parseable, colorized,
# json2 (improved json format), json (old json format) and msvs (visual
# studio). You can also give a reporter class, e.g.
# mypackage.mymodule.MyReporterClass.
#output-format=

Expand Down
6 changes: 3 additions & 3 deletions examples/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -406,9 +406,9 @@ evaluation = "max(0, 0 if fatal else 10.0 - ((float(5 * error + warning + refact
# used to format the message information. See doc for all details.
# msg-template =

# Set the output format. Available formats are text, parseable, colorized, json
# and msvs (visual studio). You can also give a reporter class, e.g.
# mypackage.mymodule.MyReporterClass.
# Set the output format. Available formats are: text, parseable, colorized, json2
# (improved json format), json (old json format) and msvs (visual studio). You
# can also give a reporter class, e.g. mypackage.mymodule.MyReporterClass.
# output-format =

# Tells whether to display a full report or only the messages.
Expand Down
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.0a8-dev0"
__version__ = "3.0.0b0"


def get_numversion_from_version(v: str) -> tuple[int, int, int]:
Expand Down
2 changes: 1 addition & 1 deletion pylint/checkers/spelling.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def _get_enchant_dict_help(
enchant_help = "No available dictionaries : You need to install "
if not pyenchant_available:
enchant_help += "both the python package and "
enchant_help += "the system dependency for enchant to work."
enchant_help += "the system dependency for enchant to work"
return f"Spelling dictionary name. {enchant_help}."


Expand Down
4 changes: 4 additions & 0 deletions script/.contributors_aliases.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@
"mails": ["[email protected]"],
"name": "Konstantin"
},
"[email protected]": {
"mails": ["[email protected]", "[email protected]"],
"name": "Hashem Nasarat"
},
"[email protected]": {
"comment": " (mhumetskyi)\n * Fixed ignored empty functions by similarities checker with \"ignore-signatures\" option enabled\n * Ignore function decorators signatures as well by similarities checker with \"ignore-signatures\" option enabled\n * Ignore class methods and nested functions signatures as well by similarities checker with \"ignore-signatures\" option enabled",
"mails": ["[email protected]"],
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.0a8-dev0"
current = "3.0.0b0"
regex = '''
^(?P<major>0|[1-9]\d*)
\.
Expand Down