Skip to content

Commit

Permalink
Fix flake8 E731 (#1842)
Browse files Browse the repository at this point in the history
  • Loading branch information
zundertj committed Nov 21, 2021
1 parent 627375d commit 5717aa4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion py-polars/polars/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
try:
from polars.polars import version
except ImportError as e:
version = lambda: ""

def version() -> str:
return ""

# this is only useful for documentation
warnings.warn("polars binary missing!")

Expand Down

0 comments on commit 5717aa4

Please sign in to comment.