I was making an included file in the pandas documentation. Since the included file uses a variable from the parent, flake8-rst gave a F821 undefined name warning. I tried adding :flake8-add-ignore: F821, but continued to get the same error.
afeld/pandas@3caffaa
$ flake8-rst --version
0.7.2 (flake8-comprehensions: 3.3.0, mccabe: 0.6.1, pycodestyle: 2.6.0, pyflakes: 2.2.0) CPython 3.8.6 on Linux
I'm relatively new to reStructuredText/Sphinx, so:
- It's very possible I'm just not using it right
- I wasn't sure of the best way to create a minimal example to reproduce
Any suggestions would be appreciated. Thanks!
I was making an
included file in the pandas documentation. Since theincluded file uses a variable from the parent, flake8-rst gave aF821 undefined namewarning. I tried adding:flake8-add-ignore: F821, but continued to get the same error.afeld/pandas@3caffaa
I'm relatively new to reStructuredText/Sphinx, so:
Trying any
flake8-rstcommands in asphinx-quickstarted directory would giveAny suggestions would be appreciated. Thanks!