Skip to content

Release branch 2.15.0 alpha 0 #7196

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
83 changes: 48 additions & 35 deletions CONTRIBUTORS.txt

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions doc/whatsnew/2/2.15/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
Summary -- Release highlights
=============================

* We improved ``pylint``'s handling of namespace packages. More packages should be
linted without resorting to using the ``-recursive=y`` option.
In pylint 2.15.0, we added a new check ``missing-timeout`` to warn of
default timeout values that could cause a program to be hanging indefinitely.

>e improved ``pylint``'s handling of namespace packages. More packages should
be linted without resorting to using the ``-recursive=y`` option.

.. towncrier release notes start
5 changes: 5 additions & 0 deletions doc/whatsnew/fragments/6974.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
We changed the way we handle the changelog internally by using towncrier.
If you're a contributor you won't have to fix merge conflicts in the
changelog anymore.

Closes #6974
19 changes: 14 additions & 5 deletions examples/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,15 @@ fail-under=10
# Files or directories to be skipped. They should be base names, not paths.
ignore=CVS

# Add files or directories matching the regex patterns to the ignore-list. The
# regex matches against paths and can be in Posix or Windows format.
# Add files or directories matching the regular expressions patterns to the
# ignore-list. The regex matches against paths and can be in Posix or Windows
# format. Because '\' represents the directory delimiter on Windows systems, it
# can't be used as an escape character.
ignore-paths=

# Files or directories matching the regex patterns are skipped. The regex
# matches against base names, not paths. The default value ignores Emacs file
# locks
# Files or directories matching the regular expression patterns are skipped.
# The regex matches against base names, not paths. The default value ignores
# Emacs file locks
ignore-patterns=^\.#

# List of module names for which member attributes should not be checked
Expand Down Expand Up @@ -160,6 +162,13 @@ disable=raw-checker-failed,
enable=c-extension-no-member


[METHOD_ARGS]

# List of qualified names (i.e., library.method) which require a timeout
# parameter e.g. 'requests.api.get,requests.api.post'
timeout-methods=requests.api.delete,requests.api.get,requests.api.head,requests.api.options,requests.api.patch,requests.api.post,requests.api.put,requests.api.request


[EXCEPTIONS]

# Exceptions that will emit a warning when caught.
Expand Down
16 changes: 12 additions & 4 deletions examples/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,15 @@ fail-under = 10
# Files or directories to be skipped. They should be base names, not paths.
ignore = ["CVS"]

# Add files or directories matching the regex patterns to the ignore-list. The
# regex matches against paths and can be in Posix or Windows format.
# Add files or directories matching the regular expressions patterns to the
# ignore-list. The regex matches against paths and can be in Posix or Windows
# format. Because '\' represents the directory delimiter on Windows systems, it
# can't be used as an escape character.
# ignore-paths =

# Files or directories matching the regex patterns are skipped. The regex matches
# against base names, not paths. The default value ignores Emacs file locks
# Files or directories matching the regular expression patterns are skipped. The
# regex matches against base names, not paths. The default value ignores Emacs
# file locks
ignore-patterns = ["^\\.#"]

# List of module names for which member attributes should not be checked (useful
Expand Down Expand Up @@ -353,6 +356,11 @@ disable = ["raw-checker-failed", "bad-inline-option", "locally-disabled", "file-
# should appear only once). See also the "--disable" option for examples.
enable = ["c-extension-no-member"]

[tool.pylint.method_args]
# List of qualified names (i.e., library.method) which require a timeout
# parameter e.g. 'requests.api.get,requests.api.post'
timeout-methods = ["requests.api.delete", "requests.api.get", "requests.api.head", "requests.api.options", "requests.api.patch", "requests.api.post", "requests.api.put", "requests.api.request"]

[tool.pylint.miscellaneous]
# List of note tags to take in consideration, separated by a comma.
notes = ["FIXME", "XXX", "TODO"]
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__ = "2.15.0-dev0"
__version__ = "2.15.0-a0"


def get_numversion_from_version(v: str) -> tuple[int, int, int]:
Expand Down
4 changes: 4 additions & 0 deletions script/.contributors_aliases.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@
"mails": ["[email protected]"],
"name": "Allan Chandler"
},
"<[email protected]>": {
"mails": ["[email protected]", "[email protected]"],
"name": "Adam Williamson"
},
"[email protected]": {
"mails": ["[email protected]"],
"name": "Adrien Di Mascio"
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.15.0-dev0"
current = "2.15.0-a0"
regex = '''
^(?P<major>0|[1-9]\d*)
\.
Expand Down