Skip to content

Commit

Permalink
return original class for better sphinx support
Browse files Browse the repository at this point in the history
  • Loading branch information
goktug97 committed Apr 16, 2021
1 parent f9d4429 commit 977b8b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pipcs/pipcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,8 @@ def add_config(self, cls, name, check=True):

def add(self, name, check=True):
def _add(wrapped_class):
return self.add_config(wrapped_class, name, check)
self.add_config(wrapped_class, name, check)
return wrapped_class
return _add

def __call__(self, name, check=True):
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.2',
version=f'1.3.3',
description='pipcs is python configuration system',
author='Göktuğ Karakaşlı',
author_email='karakasligk@gmail.com',
Expand Down

0 comments on commit 977b8b4

Please sign in to comment.