Skip to content

Commit

Permalink
add shortcut imports and __all__ to __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
larsesser committed Mar 2, 2021
1 parent 063aec2 commit 2e7a7bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions schulze_condorcet/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from .schulze_condorcet import schulze_evaluate

__all__ = ['schulze_evaluate']
2 changes: 1 addition & 1 deletion tests/test_schulze.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import Dict, List, Optional, Tuple
import unittest

from schulze_condorcet.schulze_condorcet import schulze_evaluate
from schulze_condorcet import schulze_evaluate


class MyTest(unittest.TestCase):
Expand Down

0 comments on commit 2e7a7bb

Please sign in to comment.