Skip to content

Commit c0c9095

Browse files
author
Rôb Klér Soares da Silva Júnior
authored
Merge pull request #23 from GuiaBolso/chore/lint-user-class
Fix quote usage on User class
2 parents 53b2ca1 + 0e73c47 commit c0c9095

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

events_protocol/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.2.1" # pragma: no cover
1+
__version__ = "0.2.2" # pragma: no cover
22

33
from .core.builder import EventBuilder
44
from .client import EventClient

events_protocol/core/model/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class User:
88
user_type: Optional[str]
99

1010
def __hash__(self):
11-
return hash(f'{self.user_id},{self.user_type}')
11+
return hash(f"{self.user_id},{self.user_type}")
1212

1313
def __eq__(self, other):
1414
return self.__hash__() == other.__hash__()

0 commit comments

Comments
 (0)