-
Notifications
You must be signed in to change notification settings - Fork 13
Sphinx Build Error: ... can only concatenate str (not "__qualname__") to str #38
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
Comments
If I remove
|
It also builds if I change
But then pre-commit is angry.
|
One final comment.... I also tried removing the This leads me to believe there's something wrong with the docstrings. |
I worked around this by rolling Sphinx back to 4.3.2 in my branch. |
I think the
and here:
are potentially leading to this issue. I noticed that I can build the docs successfully on sphinx 4.4.0 if I remove those type hints. I think maybe those types should be |
As a short term fix I think it may be easiest to remove the type hint from those arguments for now. I think the actions container is going to need access to |
To test this theory I manually copied
and change the type hint to be like this:
|
I'll modify the logging in my PR as suggested. Thanks @FoamyGuy! |
Thanks @FoamyGuy that seems to have done the trick. |
This happen on main as well as in my PR branch.
sphinx.errors.SphinxWarning: error while formatting arguments for adafruit_azureiot.IoTCentralDevice: can only concatenate str (not "__qualname__") to str
No idea... searching the internet was no help.
verbose
The text was updated successfully, but these errors were encountered: