Skip to content
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

Improve warning handling #243

Merged
merged 14 commits into from
Apr 3, 2024
Prev Previous commit
Next Next commit
rm noqa: F401
  • Loading branch information
mscheltienne committed Apr 2, 2024
commit 7f6e7f093db4044e6ef3e868c6030f8382294ac3
12 changes: 4 additions & 8 deletions mne_lsl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
from . import datasets # noqa: F401
from . import lsl # noqa: F401
from . import player # noqa: F401
from . import stream # noqa: F401
from . import utils # noqa: F401
from ._version import __version__ # noqa: F401
from .utils.config import sys_info # noqa: F401
from .utils.logs import add_file_handler, logger, set_log_level # noqa: F401
from . import datasets, lsl, player, stream, utils
from ._version import __version__
from .utils.config import sys_info
from .utils.logs import add_file_handler, logger, set_log_level, verbose, warn
3 changes: 1 addition & 2 deletions mne_lsl/datasets/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
from . import sample # noqa: F401
from . import testing # noqa: F401
from . import sample, testing
13 changes: 4 additions & 9 deletions mne_lsl/lsl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
from .functions import ( # noqa: F401
library_version,
local_clock,
protocol_version,
resolve_streams,
)
from .stream_info import StreamInfo # noqa: F401
from .stream_inlet import StreamInlet # noqa: F401
from .stream_outlet import StreamOutlet # noqa: F401
from .functions import library_version, local_clock, protocol_version, resolve_streams
from .stream_info import StreamInfo
from .stream_inlet import StreamInlet
from .stream_outlet import StreamOutlet
2 changes: 1 addition & 1 deletion mne_lsl/player/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from .player_lsl import PlayerLSL # noqa: F401
from .player_lsl import PlayerLSL
2 changes: 1 addition & 1 deletion mne_lsl/stream/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from .stream_lsl import StreamLSL # noqa: F401
from .stream_lsl import StreamLSL
2 changes: 1 addition & 1 deletion mne_lsl/stream_viewer/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from .stream_viewer import StreamViewer # noqa: F401
from .stream_viewer import StreamViewer
2 changes: 1 addition & 1 deletion mne_lsl/stream_viewer/control_gui/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from .control_eeg import ControlGUI_EEG # noqa: F401
from .control_eeg import ControlGUI_EEG
2 changes: 1 addition & 1 deletion mne_lsl/stream_viewer/scope/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from .scope_eeg import ScopeEEG # noqa: F401
from .scope_eeg import ScopeEEG
4 changes: 1 addition & 3 deletions mne_lsl/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
from . import config # noqa: F401
from . import logs # noqa: F401
from . import meas_info # noqa: F401
from . import config, logs, meas_info