From 24f0100189cd2d12976c8536f70707d736f5f10d Mon Sep 17 00:00:00 2001 From: Florian Frantzen Date: Fri, 21 Jun 2024 18:03:32 +0200 Subject: [PATCH] Clean-up ruff config according to scientific python suggestions --- pyproject.toml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d64ac0c4..1585f54c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -76,7 +76,6 @@ homepage="https://github.com/pyt-team/TopoNetX" repository="https://github.com/pyt-team/TopoNetX" [tool.ruff] -target-version = "py310" extend-include = ["*.ipynb"] [tool.ruff.format] @@ -103,12 +102,12 @@ ignore = [ "PERF203", # allow try-except within loops ] +[tool.ruff.lint.per-file-ignores] +"__init__.py" = ["F403"] + [tool.ruff.lint.pydocstyle] convention = "numpy" -[tool.ruff.per-file-ignores] -"__init__.py" = ["F403"] - [tool.setuptools.dynamic] version = {attr = "toponetx.__version__"}