From fd7453e91cf0c3d53ef13e99def92b3a8dfdc7b1 Mon Sep 17 00:00:00 2001 From: Sigurd Borge Date: Tue, 24 Sep 2024 14:58:24 +0200 Subject: [PATCH] Added authors and linting rules to pyproject.toml. The rules chosen are the ruff defaults + sorting imports --- pyproject.toml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d2f25a6a..332de67c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,6 +5,12 @@ build-backend = "setuptools.build_meta" [project] name = "antares_craft" version = "0.0.1" +authors = [ + {name="Sylvain Leclerc"}, + {name="Tatiana Vargas"}, + {name="Martin Behlthle"}, + {name="Sigurd Borge"} +] dependencies = [ ] @@ -14,4 +20,8 @@ dependencies = [ where = ["src"] [tool.ruff] -line-length = 120 \ No newline at end of file +line-length = 120 + +[tool.ruff.lint] +# E4, E7, E9 and F are the default configuration of ruff, I is added to handle imports +select = ["E4", "E7", "E9", "F", "I"] \ No newline at end of file