-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Allow custom list of domains for inventories #49
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot! Just a suggestion.
Could you also update the JSON schema by adding this new domain
fields after the other fields of import
:
Line 29 in 96e231a
} |
Something is off with using a list there as I get a stacktrace...
As soon I am trying to add a list for import in config, it explodes. Passing string works fine... |
Oh, that's unfortunate 🤔 |
OK, the culprit is Casting lists to tuples fixes the issue. Will push it tomorrow 🙂 |
First let me thank you for helping on this one, especially as I am new to the project. I wonder if the decision to split mkdocstrings and mkdocstrings-python in two projects did pay off because I already spotted a little bit of need to update both. At least for me it made harder to understand how the code was used. I think i need to put both projects into a parent directory to be able to grep on both at once. |
The split is useful, though maybe not as clean as it should have been. mkdocstrings, autorefs and the python handler are interlinked, and it makes it indeed quite hard to build a mental model of it. But I'm sure we can make it cleaner with a bit of work 🙂 Ideally, mkdocstrings should provide a generic, solid base for handlers, and changes into one wouldn't need changes into the other. When debugging things like that, I generally go into the mkdocstrings or mkdocstrings-python project, run a |
@pawamoy Please take a look at mypy error, it seems unrelated to me:
While the error is reported near my change, is not on my code. Is that a mypy bug or something else? Because you do not pin the version of mypy used during testing, weird behaviors can happen. Linters should be pinned, or we would face random failures when they release new version. Based on my experience %30 of mypy/pylint/flake8 updates would require one extra change to the codebase, and they release new versions,... often enogh. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks a lot!
Related: mkdocstrings/mkdocstrings#510
Depends-On: mkdocstrings/mkdocstrings#511