Skip to content

Commit

Permalink
typing for comparable
Browse files Browse the repository at this point in the history
  • Loading branch information
goktug97 committed May 10, 2021
1 parent c07eb50 commit 347ba64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pipcs/pipcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ def __call__(self, config):
return self.comp(config)


class Comparable():
def __init__(self, data):
class Comparable(Generic[T]):
def __init__(self, data: T):
self.data = data

def _get_value(self, config):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
long_description = f.read()

setup(name='pipcs',
version=f'1.3.4',
version=f'1.3.5',
description='pipcs is python configuration system',
author='Göktuğ Karakaşlı',
author_email='karakasligk@gmail.com',
Expand Down

0 comments on commit 347ba64

Please sign in to comment.