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

Ruff formatting #635

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 26 additions & 23 deletions elephant/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,30 @@
:license: Modified BSD, see LICENSE.txt for details.
"""

from . import (cell_assembly_detection,
change_point_detection,
conversion,
cubic,
current_source_density,
gpfa,
kernels,
neo_tools,
phase_analysis,
signal_processing,
spade,
spectral,
spike_train_correlation,
spike_train_dissimilarity,
spike_train_generation,
spike_train_surrogates,
spike_train_synchrony,
sta,
trials,
unitary_event_analysis,
waveform_features,
statistics)
from . import (
cell_assembly_detection,
change_point_detection,
conversion,
cubic,
current_source_density,
gpfa,
kernels,
neo_tools,
phase_analysis,
signal_processing,
spade,
spectral,
spike_train_correlation,
spike_train_dissimilarity,
spike_train_generation,
spike_train_surrogates,
spike_train_synchrony,
sta,
trials,
unitary_event_analysis,
waveform_features,
statistics,
)

# not included modules on purpose:
# parallel: avoid warns when elephant is imported
Expand All @@ -43,8 +45,9 @@

def _get_version():
import os

elephant_dir = os.path.dirname(__file__)
with open(os.path.join(elephant_dir, 'VERSION')) as version_file:
with open(os.path.join(elephant_dir, "VERSION")) as version_file:
version = version_file.read().strip()
return version

Expand Down
Loading