We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A variable name with a trailing underscore gives Unknown target name:
Unknown target name
$ cat test.py def f(id_: str): """Function. :param id_: A string.""" print() $ flake8 test.py test.py:4:1: RST306 Unknown target name: "id".
Could this be related to sphinx issue 1462?
The text was updated successfully, but these errors were encountered:
Hmm. Reminds me of #18 in that this is some Python syntax which taken in isolation is invalid RST.
Can it be escaped as a workaround?
Sorry, something went wrong.
I can confirm that escaping each reference to the identifier with a trailing underscore removes the warning.
No branches or pull requests
A variable name with a trailing underscore gives
Unknown target name
:Could this be related to sphinx issue 1462?
The text was updated successfully, but these errors were encountered: