-
-
Notifications
You must be signed in to change notification settings - Fork 24
Detect !~ in roles #126
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
✅
:meth:`~list.pop`can be used to displaypop().✅
:meth:`!list.pop`can be used to displaylist.pop()and avoid reference warnings.❌
:meth:`!~list.pop`cannot be used to displaypop()and avoid reference warnings, instead it shows~list.pop()✅ We should instead write
:meth:`!pop`to displaypop().Real life example: python/cpython#127054 (review)
Can we detect this with Sphinx Lint?