Skip to content

Commit

Permalink
Added authors and linting rules to pyproject.toml. The rules chosen a…
Browse files Browse the repository at this point in the history
…re the ruff defaults + sorting imports
  • Loading branch information
Sigurd-Borge committed Sep 24, 2024
1 parent 490f8da commit fd7453e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [

]
Expand All @@ -14,4 +20,8 @@ dependencies = [
where = ["src"]

[tool.ruff]
line-length = 120
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"]

0 comments on commit fd7453e

Please sign in to comment.