diff --git a/pyproject.toml b/pyproject.toml index 2cf3008..b7be37b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,30 +6,27 @@ build-backend = "setuptools.build_meta" name = "openhexa.toolbox" version = "0.1.4" description = "A set of tools to acquire & process data from various sources" -authors = [ - { name = "Bluesquare", email = "dev@bluesquarehub.com"} -] -maintainers = [ - { name = "Bluesquare", email = "dev@bluesquarehub.com" } -] +authors = [{ name = "Bluesquare", email = "dev@bluesquarehub.com" }] +maintainers = [{ name = "Bluesquare", email = "dev@bluesquarehub.com" }] license = { file = "LICENSE" } readme = "README.md" classifiers = [ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License", - "Operating System :: OS Independent" + "Operating System :: OS Independent", ] requires-python = ">=3.8" -dependencies = [ - "requests", - "python-dateutil", - "pandas", - "polars", - "diskcache" -] +dependencies = ["requests", "python-dateutil", "pandas", "polars", "diskcache"] [project.optional-dependencies] -dev = ["ruff~=0.0.278", "pytest~=7.3.0", "build~=0.10.0", "pytest-cov~=4.0.0" , "black~=23.7.0", "pre-commit"] +dev = [ + "ruff~=0.0.278", + "pytest~=7.3.0", + "build~=0.10.0", + "pytest-cov~=4.0.0", + "black~=23.7.0", + "pre-commit", +] [tool.setuptools.packages.find] where = ["."] @@ -47,3 +44,6 @@ line-length = 120 [tool.ruff.pycodestyle] max-doc-length = 120 + +[tool.pytest.ini_options] +addopts = ["--import-mode=importlib"]