From 8fec8c6ce80f150bdb632fca3b333f1edde98139 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laur=C3=A9line=20Gu=C3=A9rin?= Date: Tue, 6 Apr 2021 21:28:03 +0200 Subject: [PATCH] trivial: update README about isort --- README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/README index 89b82405e..3dada0635 100644 --- a/README +++ b/README @@ -41,9 +41,9 @@ black is used to format the code, using thoses parameters: isort is used to format the imports, using those parameters: - isort --force-single-line-imports --line-length 110 + isort --profile black --line-length 110 -There is .pre-commit-config.yaml to use pre-commit to automatically run black +There is .pre-commit-config.yaml to use pre-commit to automatically run black and isort before commits. (execute `pre-commit install` to install the git hook.)