diff --git a/pyixapi/__init__.py b/pyixapi/__init__.py index f15791a..ea606ce 100644 --- a/pyixapi/__init__.py +++ b/pyixapi/__init__.py @@ -1,4 +1,5 @@ -from pyixapi.core.api import API as api -from pyixapi.core.query import ContentError, RequestError +from .core.api import API as api +from .core.api import __version__ # noqa: F401 +from .core.query import ContentError, RequestError __all__ = ("api", "ContentError", "RequestError") diff --git a/pyixapi/core/api.py b/pyixapi/core/api.py index 18e3f26..1b9e31c 100644 --- a/pyixapi/core/api.py +++ b/pyixapi/core/api.py @@ -29,7 +29,7 @@ RoleAssignment, ) -__version__ = "0.2.1" +__version__ = "0.2.2" class API(object): diff --git a/pyproject.toml b/pyproject.toml index a71b945..ddf48b2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pyixapi" -version = "0.2.1" +version = "0.2.2" description = "Python API client library for IX-API" authors = ["Guillaume Mazoyer "] readme = "README.md" @@ -36,34 +36,24 @@ exclude = [ "build", "dist", "examples", + "__main__.py", ] [tool.ruff.lint] preview = true select = [ - # mccabe complexity - "C90", - # pycodestyle errors - "E", - # pycodestyle warnings - "W", - # pyflakes - "F", - # isort-like checks - "I", - # flake8-datetimez - "DTZ", - # flake8-import-conventions - "ICN", - # flake8-type-checking - "TCH", - # flake8-debugger - "T10", - # flake8-quotes - "Q", - # flake8-2020 - "YTT", + "C90", # mccabe complexity + "E", # pycodestyle errors + "W", # pycodestyle warnings + "F", # pyflakes + "I", # isort-like checks + "DTZ", # flake8-datetimez + "ICN", # flake8-import-conventions + "TCH", # flake8-type-checking + "T10", # flake8-debugger + "Q", # flake8-quotes + "YTT", # flake8-2020 ] task-tags = ["FIXME", "TODO", "XXX"]