Detect !~
in roles
#126
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra 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?
The text was updated successfully, but these errors were encountered: