From 84c3a5f78f4e7e10c39febc556e4e8af6f880ea3 Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Tue, 27 Jun 2023 20:55:34 +0200 Subject: [PATCH] [pyproject] Format with taplo --- pyproject.toml | 62 +++++++++++++++++++++----------------------------- 1 file changed, 26 insertions(+), 36 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 339eb4d6..bb93be32 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,8 +3,8 @@ # SPDX-License-Identifier: GPL-3.0-or-later [build-system] - requires = ["setuptools>=61.0.0", "wheel"] - build-backend = "setuptools.build_meta" +requires = ["setuptools>=61.0.0", "wheel"] +build-backend = "setuptools.build_meta" [project] name = "ptbench" @@ -12,13 +12,11 @@ version = "1.0.0b0" requires-python = ">=3.10" description = "Benchmarks for training and evaluating deep models for the detection of active Pulmonary Tuberculosis from Chest X-Ray imaging." dynamic = ["readme"] -license = {text = "GNU General Public License v3 (GPLv3)"} -authors = [ - {name = "Geoffrey Raposo", email = "geoffrey@raposo.ch"} -] +license = { text = "GNU General Public License v3 (GPLv3)" } +authors = [{ name = "Geoffrey Raposo", email = "geoffrey@raposo.ch" }] maintainers = [ - {name = "Andre Anjos", email = "andre.anjos@idiap.ch"}, - {name = "Daniel Carron", email = "daniel.carron@idiap.ch"} + { name = "Andre Anjos", email = "andre.anjos@idiap.ch" }, + { name = "Daniel Carron", email = "daniel.carron@idiap.ch" }, ] classifiers = [ "Development Status :: 4 - Beta", @@ -29,21 +27,21 @@ classifiers = [ "Topic :: Software Development :: Libraries :: Python Modules", ] dependencies = [ - "clapper", - "click", - "numpy", - "pandas", - "scipy", - "scikit-learn", - "tqdm", - "psutil", - "tabulate", - "matplotlib", - "pillow", - "torch>=1.8", - "torchvision>=0.10", - "lightning>=2.0.3", - "tensorboard", + "clapper", + "click", + "numpy", + "pandas", + "scipy", + "scikit-learn", + "tqdm", + "psutil", + "tabulate", + "matplotlib", + "pillow", + "torch>=1.8", + "torchvision>=0.10", + "lightning>=2.0.3", + "tensorboard", ] [project.urls] @@ -62,12 +60,8 @@ doc = [ "sphinx-copybutton", "sphinx-inline-tabs", "sphinx-click", - ] -test = [ - "pytest", - "pytest-cov", - "coverage", - ] +] +test = ["pytest", "pytest-cov", "coverage"] [project.scripts] ptbench = "ptbench.scripts.cli:cli" @@ -487,10 +481,10 @@ padchest_tb_idiap_rs = "ptbench.configs.datasets.padchest_RS.tb_idiap" [tool.setuptools] zip-safe = true -package-dir = {"" = "src"} +package-dir = { "" = "src" } [tool.setuptools.dynamic] -readme = {file = "README.md"} +readme = { file = "README.md" } [tool.distutils.bdist_wheel] universal = true @@ -505,10 +499,6 @@ lines_between_types = 1 line-length = 80 [tool.pytest.ini_options] -addopts = [ - "--cov=ptbench", - "--cov-report=term-missing", - "--import-mode=append", -] +addopts = ["--cov=ptbench", "--cov-report=term-missing", "--import-mode=append"] junit_logging = "all" junit_log_passing_tests = false -- GitLab