Skip to content

Commit

Permalink
Merge pull request #21 from FelixTheC/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
FelixTheC authored Jun 26, 2020
2 parents 9ce0e04 + c9584cf commit ccfd675
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
README = (HERE / "README.md").read_text()
setup(
name="strongtyping",
version="1.2.0",
version="1.2.1",
description="Decorator which checks whether the function is called with the correct type of parameters",
long_description=README,
long_description_content_type="text/markdown",
Expand Down
6 changes: 0 additions & 6 deletions strongtyping/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,3 @@
@created: 04.06.20
@author: felix
"""
import sys
from pathlib import Path

ROOT = str(Path(__file__).resolve().parent)
if ROOT not in sys.path:
sys.path.insert(0, ROOT)
4 changes: 2 additions & 2 deletions strongtyping/docstring_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
from types import FunctionType
from types import MethodType

from cached_set import CachedSet
from strong_typing import TypeMisMatch
from strongtyping.cached_set import CachedSet
from strongtyping.strong_typing import TypeMisMatch

TYPE_EXTRACTION_PATTERN = r'(^[:a-zA-Z0-9 _-]+(:))'
PATTERN_1 = r''
Expand Down
4 changes: 2 additions & 2 deletions strongtyping/tests/test_docstring.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"""
import pytest

from docstring_typing import match_docstring
from strong_typing import TypeMisMatch
from strongtyping.docstring_typing import match_docstring
from strongtyping.strong_typing import TypeMisMatch


def test_with_docstring_list():
Expand Down

0 comments on commit ccfd675

Please sign in to comment.