Skip to content

Commit

Permalink
Suppress warning about P typevar
Browse files Browse the repository at this point in the history
  • Loading branch information
hoodmane committed Dec 23, 2024
1 parent b72accc commit 0ea4043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

def ignore_typevars():
"""These are all intentionally broken. Disable the warnings about it."""
PY_TYPEVARS_TO_IGNORE = ("T", "T_co", "T_contra", "V_co", "KT", "VT", "VT_co")
PY_TYPEVARS_TO_IGNORE = ("T", "T_co", "T_contra", "V_co", "KT", "VT", "VT_co", "P")
JS_TYPEVARS_TO_IGNORE = ("TResult", "TResult1", "TResult2", "U")

nitpick_ignore.extend(
Expand Down

0 comments on commit 0ea4043

Please sign in to comment.