diff --git a/.gitignore b/.gitignore index 30023c3..3eb5ada 100644 --- a/.gitignore +++ b/.gitignore @@ -9,7 +9,7 @@ htmlcov/ .coverage # Poetry -poetry.lock +poetry.lock # Project .[Oo]ut/ @@ -38,14 +38,10 @@ __pycache__/ *$py.class # Environments -ENV/ -env/ -.env -env.bak/ -VENV/ -venv/ -.venv -venv.bak/ +[eE][nN][vV]*/ +.[eE][nN][vV]*/ +[vV][eE][nN][vV]*/ +.[vV][eE][nN][vV]*/ # pyenv .python-version diff --git a/embutils/__init__.py b/embutils/__init__.py index 7912e1f..d9c5cb4 100644 --- a/embutils/__init__.py +++ b/embutils/__init__.py @@ -9,4 +9,4 @@ :license: The MIT License (MIT) """ # ------------------------------------- -__version__ = '0.8.0' +__version__ = '0.8.1' diff --git a/embutils/utils/parsed.py b/embutils/utils/parsed.py index 7120195..71c08d0 100644 --- a/embutils/utils/parsed.py +++ b/embutils/utils/parsed.py @@ -36,10 +36,10 @@ class ParseProtocolItem: """ Parse protocol item. """ - #: Parsing method - parse: tp.Callable[[str, ...], dict] = attr.ib() - #: Exporting method - export: tp.Callable[[dict, ...], str] = attr.ib() + #: Parsing method (string to dict...) + parse: tp.Callable[..., dict] = attr.ib() + #: Exporting method (dict to string...) + export: tp.Callable[..., str] = attr.ib() #: Allowed file suffixes suffixes: tp.List[str] = attr.ib() diff --git a/pyproject.toml b/pyproject.toml index d5a36fc..8904755 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [tool.poetry] -version = "0.8.0" +version = "0.8.1" name = "embutils" license = "MIT" readme = "README.md"