New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
regression in 3.1.0 for methods which are contextmanager
s and have a type comment
#7807
Labels
Milestone
Comments
sigmavirus24
pushed a commit
to PyCQA/flake8
that referenced
this issue
Jun 8, 2020
Might have similar cause to @classproperty issue described in #7805 |
Note: I confirmed with following Dockerfile:
I got this traceback:
|
tk0miya
added a commit
to tk0miya/sphinx
that referenced
this issue
Jun 13, 2020
tk0miya
added a commit
to tk0miya/sphinx
that referenced
this issue
Jun 13, 2020
…on using contextmanager
tk0miya
added a commit
to tk0miya/sphinx
that referenced
this issue
Jun 13, 2020
…on using contextmanager
tk0miya
added a commit
that referenced
this issue
Jun 14, 2020
Fix #7807: autodoc: wrong signature is shown for the function using contextmanager
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
methods decorated with
@contextmanager
trigger errors similar to this when built with sphinx 3.1.0 (this worked in 3.0.4):To Reproduce
Steps to reproduce the behavior:
Expected behavior
This should work!
Your project
https://github.com/pycqa/flake8
Screenshots
N/A
Environment info
Additional context
N/A
From a bisection, this is the commit which introduced the regression: 3a81ffa
CC @tk0miya
The text was updated successfully, but these errors were encountered: