Skip to content

Commit

Permalink
upgrading black
Browse files Browse the repository at this point in the history
  • Loading branch information
gviejo committed Jan 26, 2024
1 parent 36dca09 commit 422df96
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pynapple/core/jitted_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -891,9 +891,9 @@ def jitcontinuous_perievent(
left = np.minimum(windowsize[0], t_pos - start_t[k, 0])
right = np.minimum(windowsize[1], maxt - t_pos - 1)
center = windowsize[0] + 1
new_data_array[
center - left - 1 : center + right, cnt_i
] = data_array[t_pos - left : t_pos + right + 1]
new_data_array[center - left - 1 : center + right, cnt_i] = (
data_array[t_pos - left : t_pos + right + 1]
)

t -= 1
i += 1
Expand Down
1 change: 1 addition & 0 deletions pynapple/core/time_units.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- 's': seconds (overall default)
"""

from warnings import warn

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions pynapple/io/phy.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
@author: Sara Mahallati, Guillaume Viejo
"""

import os

import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ repository = "https://github.com/pynapple-org/pynapple"
##########################################################################
[project.optional-dependencies]
dev = [
"black", # Code formatter
"black>=24.1.0", # Code formatter
"isort", # Import sorter
"pip-tools", # Dependency management
"pytest", # Testing framework
Expand Down

0 comments on commit 422df96

Please sign in to comment.