Is there a rule to detect unknown arguments in docstring? #13408
-
In the following example, def f(x: str):
"""
Args:
x: string
y: another string <- unknown argument
"""
... |
Beta Was this translation helpful? Give feedback.
Answered by
MichaReiser
Sep 19, 2024
Replies: 1 comment 2 replies
-
Looks like there isn't: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you also have to set
preview
and aconvention
, but there's no such rule. There's #13280, but we must figure out what to do with the two overlapping rules. We're working on it, but it may take a bit longer.