From 7c2f2b123e11fb871d21b892dd48144e488123cf Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 31 Jan 2023 20:01:11 +0100 Subject: [PATCH] move yapf config to pypproject.toml --- poetry.lock | 6 +++--- pyproject.toml | 7 +++++++ setup.cfg | 6 ------ 3 files changed, 10 insertions(+), 9 deletions(-) delete mode 100644 setup.cfg diff --git a/poetry.lock b/poetry.lock index 934fc46..a6a5a83 100644 --- a/poetry.lock +++ b/poetry.lock @@ -21,14 +21,14 @@ resolvelib = ">=0.5.3,<0.9.0" [[package]] name = "astroid" -version = "2.13.3" +version = "2.13.4" description = "An abstract syntax tree for Python with inference support." category = "dev" optional = false python-versions = ">=3.7.2" files = [ - {file = "astroid-2.13.3-py3-none-any.whl", hash = "sha256:14c1603c41cc61aae731cad1884a073c4645e26f126d13ac8346113c95577f3b"}, - {file = "astroid-2.13.3.tar.gz", hash = "sha256:6afc22718a48a689ca24a97981ad377ba7fb78c133f40335dfd16772f29bcfb1"}, + {file = "astroid-2.13.4-py3-none-any.whl", hash = "sha256:fe430a1dcc6af3abbccd29ba9f2544dcafc0610d37018b5102c232ff917e4bbf"}, + {file = "astroid-2.13.4.tar.gz", hash = "sha256:805d47d685a490f4024e3744064e919998b0eef6619e6ea6d2052deec5333fd5"}, ] [package.dependencies] diff --git a/pyproject.toml b/pyproject.toml index ac0dfa4..b0f9067 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -140,3 +140,10 @@ select = [ [tool.ruff.flake8-quotes] inline-quotes = "double" + +[tool.yapf] +based_on_style = "google" +column_limit = 99 +dedent_closing_brackets = true +coalesce_brackets = true +split_before_logical_operator = true diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 1a3976c..0000000 --- a/setup.cfg +++ /dev/null @@ -1,6 +0,0 @@ -[yapf] -based_on_style = google -column_limit = 99 -dedent_closing_brackets = true -coalesce_brackets = true -split_before_logical_operator = true