forked from pylint-dev/pylint
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[performance] Check that 'trailing-comma-tuple' is enabled only once
Performance analysis by correctmost. Follow up to fix the known limitation will be in pylint-dev#9609 Refs pylint-dev#8606 (follow-up) Closes pylint-dev#9608
- Loading branch information
1 parent
4f0c7ac
commit 7548744
Showing
3 changed files
with
13 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Known issue: It's impossible to reactivate ``trailing-comma-tuple`` using message control | ||
once it's been disabled for a file due to over-optimization. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
An internal check for ``trailing-comma-tuple`` being globally enabled or not is now | ||
done once per file instead of once for each token. | ||
|
||
Refs #9608. |
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