From 97d72d0f38fc646accf36d9c704b1108014d09de Mon Sep 17 00:00:00 2001 From: Nathan Tien You <nathan.tien-you@univ-grenoble-alpes.fr> Date: Wed, 13 Nov 2024 17:00:35 +0100 Subject: [PATCH] unify pyproject.toml --- .pre-commit-config.yaml | 2 +- pyproject.toml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7ceab7e4..5e18906f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,7 +41,7 @@ repos: rev: 23.11.0 hooks: - id: black - args: ["-v", "--line-length", "99"] + args: ["-v"] language_version: python3 # ruff diff --git a/pyproject.toml b/pyproject.toml index f2150577..139c1948 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,3 +13,11 @@ "manage.py", "*/management/*", ] + + +[tool.isort] +line_length = 99 +profile = "black" + +[tool.black] +line-length = 99 \ No newline at end of file -- GitLab