aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
diff options
context:
space:
mode:
authorGravatar Hassan Abouelela <[email protected]>2022-11-10 22:21:42 +0400
committerGravatar Hassan Abouelela <[email protected]>2022-11-10 22:21:42 +0400
commit2b6fe6eb8a0618a0d305ecfd88a10dc0ec8dec2c (patch)
tree6c87d8bb4e2e8491eb8a9c76b8606e4a4f55cd80 /pyproject.toml
parentMerge pull request #157 from python-discord/prepare-for-pypi-release (diff)
Add Support For Attributes In Docstrings
This allows class attributes to be defined in docstrings without causing an exception while linking the source code. Due to the non-static nature of attributes, it's not trivial to link their actual definition, so the chosen lines will actually be all the lines of the parent class. Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 4cea079a..c94a6aab 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -56,6 +56,7 @@ furo = "2022.9.15"
six = "1.16.0"
releases = "1.6.3"
sphinx-multiversion = "0.2.4"
+docstring-parser = "0.15"
[tool.taskipy.tasks]
lint = "pre-commit run --all-files"