Open phxnsharp opened 1 year ago
I encountered the same problem in version 1.6.0. For me, it occurs in a file where normal + async functions are defined. I assume it is due to the regex in this line https://github.com/numpy/numpydoc/blob/46f532a824639a97479039fc122533915cdfa10f/numpydoc/validate.py#L316 as it does not account for async functions that are defined as "async def".
The recent release of numpydoc 1.6.0 caused our builds to start failing with the exact error from #268. Pegging numpydoc to 1.5.0 allows our builds to continue.
Excerpt from pyproject.toml:
Sphinx v6.2.1
Error: