Skip to content

Commit

Permalink
Merge branch 'release/2.0.22'
Browse files Browse the repository at this point in the history
  • Loading branch information
Limych committed Oct 16, 2020
2 parents b1383dc + 107b5dd commit 6dc95b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion custom_components/gismeteo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def _get(var: dict, ind: str, func: Optional[Callable] = None) -> Any:
if func is not None:
try:
res = func(res)
except ValueError:
except (TypeError, ValueError, ArithmeticError):
return None
return res

Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-r requirements.txt
black==20.08b1
flake8~=3.8
mypy==0.782
mypy==0.790
packaging~=20.4
pre-commit~=2.7
PyGithub~=1.53
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
geopy~=2.0
geohash2~=1.1
voluptuous~=0.12
homeassistant~=0.115
voluptuous~=0.12.0
homeassistant~=0.116.3

0 comments on commit 6dc95b4

Please sign in to comment.