From dfb5dbaf28a75b5b7e611da0c3c43bc3482330ad Mon Sep 17 00:00:00 2001 From: cn Date: Thu, 18 Mar 2021 18:28:32 +0100 Subject: [PATCH] module: use yapf 0.31 feature of style definition in pyproject.toml --- .style.yapf | 3 --- pyproject.toml | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) delete mode 100644 .style.yapf diff --git a/.style.yapf b/.style.yapf deleted file mode 100644 index c9a88d5..0000000 --- a/.style.yapf +++ /dev/null @@ -1,3 +0,0 @@ -[style] -based_on_style = pep8 -column_limit = 120 diff --git a/pyproject.toml b/pyproject.toml index f9d4450..182500d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,3 +20,7 @@ mypy = "0.812" pylint = "~2.7" rope = "~0.18" yapf = "~0.31" + +[tool.yapf] +based_on_style = "pep8" +column_limit = 120