From fdd212317dc8f74bce98c02809588a45c9a6f805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Sierro?= Date: Thu, 20 Jun 2024 11:10:37 +0200 Subject: [PATCH] pyproject update --- pyproject.toml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3af4f1d..aa99c67 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,19 +10,19 @@ readme = "README.md" authors = [{ name = "Benoit Sierro", email = "benoit.sierro@iap.unibe.ch" }] license = { file = "LICENSE" } classifiers = [ - "License :: OSI Approved :: MIT", - "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT", + "Programming Language :: Python :: 3", ] requires-python = ">=3.11" keywords = ["nonlinear", "fiber optics", "simulation", "runge-kutta"] dependencies = [ - "numpy", - "scipy>=1.12.0", - "matplotlib", - "numba", - "tqdm", - "pydantic", - "pydantic-settings", + "numpy", + "scipy>=1.12.0", + "matplotlib", + "numba", + "tqdm", + "pydantic", + "pydantic-settings", ] [project.optional-dependencies] @@ -31,7 +31,10 @@ test = ["pytest"] [tool.ruff] line-length = 100 -ignore = ["E741"] -[tool.ruff.pydocstyle] +[tool.ruff.lint] +ignore = ["E741"] +select = ["NPY201"] + +[tool.ruff.lint.pydocstyle] convention = "numpy"