-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️ Refactor model.from_dict to parse megacomplex_type from dict and a…
…dd simple_generator for testing (#807) * 👌 Refactor model.from_dict to use kwargs only for override; The keyword arguments megacomplex_types and default_megacomplex_type are only used for overwrites in testing * ♻️ Refactor a simple DecayModel used in testing * ✨🧪 Added plugin registry monkeypatch context managers for testing * 🔧Add rich dependency (Amazing for debugging and printing complex objects) * 🐛 Fix ThreeComponentParallel to be actually parallel * 🔧🩹 Fixed pydocstyle and darglint not picking up the testing module * 🩹Adapted pytest benchmarks to new monkeypatch_plugin_registry * 🩹 Ignore Codacy issue W0622 redefining built-in `print` when using `from rich import print` Co-authored-by: Sebastian Weigand <s.weigand.phy@gmail.com> Co-authored-by: Sourcery AI <> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
d74b0fb
commit 2f1afe7
Showing
13 changed files
with
748 additions
and
90 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"""Testing framework package for glotaran itself and plugins.""" |
Oops, something went wrong.