-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[
pylint
] Add buffer methods to bad-dunder-method-name
(PLW3201
)…
… exclusions (#8190) ## Summary Python 3.12 added the `__buffer__()`/`__release_buffer_()` special methods, which are incorrectly flagged as invalid dunder methods by `PLW3201`. ## Test Plan Added definitions to the test suite, and confirmed they failed without the fix and are ignored after the fix was done.
- Loading branch information
1 parent
6f31e9c
commit 8304c41
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters