Skip to content

Commit

Permalink
chore(main): switch pytest to importlib
Browse files Browse the repository at this point in the history
  • Loading branch information
yannforget committed Aug 8, 2023
1 parent 068d4b3 commit 4461a88
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "[email protected]"}
]
maintainers = [
{ name = "Bluesquare", email = "[email protected]" }
]
authors = [{ name = "Bluesquare", email = "[email protected]" }]
maintainers = [{ name = "Bluesquare", email = "[email protected]" }]
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 = ["."]
Expand All @@ -47,3 +44,6 @@ line-length = 120

[tool.ruff.pycodestyle]
max-doc-length = 120

[tool.pytest.ini_options]
addopts = ["--import-mode=importlib"]

0 comments on commit 4461a88

Please sign in to comment.