From 2b6fe6eb8a0618a0d305ecfd88a10dc0ec8dec2c Mon Sep 17 00:00:00 2001 From: Hassan Abouelela Date: Thu, 10 Nov 2022 22:21:42 +0400 Subject: 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 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'pyproject.toml') 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" -- cgit v1.2.3