Skip to content

Commit

Permalink
linted again
Browse files Browse the repository at this point in the history
  • Loading branch information
BalzaniEdoardo committed Oct 23, 2024
1 parent b980f12 commit 040397b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/nemos/basis.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,9 @@ def __init__(
convolve_configs = convolve_configs.difference({"axis"})
if not set(kwargs.keys()).issubset(convolve_configs):
# remove axis in case axis=0, was passed which is allowed.
invalid = set(kwargs.keys()).difference(convolve_configs).difference({"axis"})
invalid = (
set(kwargs.keys()).difference(convolve_configs).difference({"axis"})
)
raise ValueError(
f"Unrecognized keyword arguments: {invalid}. "
f"Allowed convolution keyword arguments are: {convolve_configs}."
Expand Down

0 comments on commit 040397b

Please sign in to comment.