rules/python/citation-outside-references.md
Move each author and year citation or et al. in a Python comment or docstring to a numpydoc References section. Give the section a dashed underline of at least three characters. Its scope ends with the docstring. A year alone can stay in the prose.
toml
| 1 | [tool.xpd.references] |
| 2 | citation-paths = ["src"] |
List files or directories relative to the project file. The default empty list disables this check. Each match points to the citation. Choose the appropriate docstring for a citation in a comment.