-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Propagate original description to foreign variables (#91)
* Decouple autodoc from foreign variable description When looking up the description of a foreign variable, its original description will be returned, independently of the autodoc feature integration. * Passed black and flake8 * Updated doc/whats_new.rst * Directly access metadata description * Added test for xsimlab.foreign, minor modifications * Passed black and flake8 * Refine testing To restrict the scope of testing as well as preserving consistency between `xsimlab.foreign` and pytest logic, description is accessed directly via `attr.fields_dict` in `xsimlab.foreign` and `attr.fields` in the test procedure.
- Loading branch information
Showing
4 changed files
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters