Skip to content
Snippets Groups Projects
Commit 84c3a5f7 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[pyproject] Format with taplo

parent 6bfb3ac1
No related branches found
No related tags found
1 merge request!6Making use of LightningDataModule and simplification of data loading
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
[build-system] [build-system]
requires = ["setuptools>=61.0.0", "wheel"] requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
[project] [project]
name = "ptbench" name = "ptbench"
...@@ -12,13 +12,11 @@ version = "1.0.0b0" ...@@ -12,13 +12,11 @@ version = "1.0.0b0"
requires-python = ">=3.10" requires-python = ">=3.10"
description = "Benchmarks for training and evaluating deep models for the detection of active Pulmonary Tuberculosis from Chest X-Ray imaging." description = "Benchmarks for training and evaluating deep models for the detection of active Pulmonary Tuberculosis from Chest X-Ray imaging."
dynamic = ["readme"] dynamic = ["readme"]
license = {text = "GNU General Public License v3 (GPLv3)"} license = { text = "GNU General Public License v3 (GPLv3)" }
authors = [ authors = [{ name = "Geoffrey Raposo", email = "geoffrey@raposo.ch" }]
{name = "Geoffrey Raposo", email = "geoffrey@raposo.ch"}
]
maintainers = [ maintainers = [
{name = "Andre Anjos", email = "andre.anjos@idiap.ch"}, { name = "Andre Anjos", email = "andre.anjos@idiap.ch" },
{name = "Daniel Carron", email = "daniel.carron@idiap.ch"} { name = "Daniel Carron", email = "daniel.carron@idiap.ch" },
] ]
classifiers = [ classifiers = [
"Development Status :: 4 - Beta", "Development Status :: 4 - Beta",
...@@ -29,21 +27,21 @@ classifiers = [ ...@@ -29,21 +27,21 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Libraries :: Python Modules",
] ]
dependencies = [ dependencies = [
"clapper", "clapper",
"click", "click",
"numpy", "numpy",
"pandas", "pandas",
"scipy", "scipy",
"scikit-learn", "scikit-learn",
"tqdm", "tqdm",
"psutil", "psutil",
"tabulate", "tabulate",
"matplotlib", "matplotlib",
"pillow", "pillow",
"torch>=1.8", "torch>=1.8",
"torchvision>=0.10", "torchvision>=0.10",
"lightning>=2.0.3", "lightning>=2.0.3",
"tensorboard", "tensorboard",
] ]
[project.urls] [project.urls]
...@@ -62,12 +60,8 @@ doc = [ ...@@ -62,12 +60,8 @@ doc = [
"sphinx-copybutton", "sphinx-copybutton",
"sphinx-inline-tabs", "sphinx-inline-tabs",
"sphinx-click", "sphinx-click",
] ]
test = [ test = ["pytest", "pytest-cov", "coverage"]
"pytest",
"pytest-cov",
"coverage",
]
[project.scripts] [project.scripts]
ptbench = "ptbench.scripts.cli:cli" ptbench = "ptbench.scripts.cli:cli"
...@@ -487,10 +481,10 @@ padchest_tb_idiap_rs = "ptbench.configs.datasets.padchest_RS.tb_idiap" ...@@ -487,10 +481,10 @@ padchest_tb_idiap_rs = "ptbench.configs.datasets.padchest_RS.tb_idiap"
[tool.setuptools] [tool.setuptools]
zip-safe = true zip-safe = true
package-dir = {"" = "src"} package-dir = { "" = "src" }
[tool.setuptools.dynamic] [tool.setuptools.dynamic]
readme = {file = "README.md"} readme = { file = "README.md" }
[tool.distutils.bdist_wheel] [tool.distutils.bdist_wheel]
universal = true universal = true
...@@ -505,10 +499,6 @@ lines_between_types = 1 ...@@ -505,10 +499,6 @@ lines_between_types = 1
line-length = 80 line-length = 80
[tool.pytest.ini_options] [tool.pytest.ini_options]
addopts = [ addopts = ["--cov=ptbench", "--cov-report=term-missing", "--import-mode=append"]
"--cov=ptbench",
"--cov-report=term-missing",
"--import-mode=append",
]
junit_logging = "all" junit_logging = "all"
junit_log_passing_tests = false junit_log_passing_tests = false
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment