Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
staadecker committed Nov 12, 2024
1 parent 41613e1 commit e537d1e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pyoframe/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ def __pow__(self, power: int):
"""
if power == 2:
return self * self
raise ValueError(f"Raising an expressions to **{power} is not supported. Expressions can only be squared (**2).")
raise ValueError(
f"Raising an expressions to **{power} is not supported. Expressions can only be squared (**2)."
)

def __neg__(self):
res = self.to_expr() * -1
Expand Down

0 comments on commit e537d1e

Please sign in to comment.