Skip to content

Commit

Permalink
🌈 style: ruff fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mic1on committed Dec 15, 2023
1 parent e2127f4 commit b1eb2b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/use_nacos/exception.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from enum import Enum
from typing import Optional

import httpx
Expand Down
2 changes: 1 addition & 1 deletion src/use_nacos/serializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,6 @@ def __call__(self, data) -> dict:
for serializer in self.serializers:
try:
return serializer(data)
except:
except SerializerException:
pass
raise SerializerException(f"Cannot parse data: {data!r}")

0 comments on commit b1eb2b0

Please sign in to comment.