Skip to content
Commit c7437c64 authored by Douglas Raillard's avatar Douglas Raillard
Browse files

lisa: Setup warnings filters

* Raise an exception when a deprecated API is used from within "lisa"
package
* Always show warnings when a deprecated API is used from __main__,
which includes notebook cells.

This ensures LISA avoids using any deprecated APIs, both internally
deprecated APIs and deprecated APIs from other modules. There seems to
be no way of distinguishing both in the warning filters.
parent 82b5ebdd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment