From 2dc948890980d69b86a580e21343f7ec1a2f4e36 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 21 Sep 2022 13:40:37 +0530 Subject: [PATCH] switch python autoformatter to isort+black+autoflake --- setup.cfg | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/setup.cfg b/setup.cfg index e6d65b049..00ace6e55 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,15 +1,10 @@ [flake8] max-line-length = 160 exclude==template.py,linux-package - -[yapf] -based_on_style = pep8 -split_penalty_import_names = 100 -dedent_closing_brackets = True -coalesce_brackets = True -blank_line_before_nested_class_or_def = True +extend_ignore=W503,E203 [isort] +profile = black combine_as_imports = True multi_line_output = 5