forked from PyLops/pylops
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changing how optional dependencies are import state are checked (PyLo…
…ps#551) * adding initial check * adding check_module_enabled func * silly typo "module" instead of module * switch all optionals to check_module_enabled * changing to c/longdouble for tests * cleaning up old code and adding noqa * Revert "changing to c/longdouble for tests" This reverts commit 06534b1. * numpydoc style docstring * adding cupy/cusignal import tests and how enables are set * adding message to be optional * fixing logic in cupy/cusignal_enabled * cleaning up old code snippets and typos * small format changes * more formatting changes * changing import to import_module for pylint * minor: restyling deps.py * minor: added alex-rakowski to contributors --------- Co-authored-by: mrava87 <[email protected]>
- Loading branch information
1 parent
d6e484c
commit 77eca0f
Showing
3 changed files
with
107 additions
and
32 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