From 0b2af7c33a863c121977fb199aa2c0c739792483 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 8 Feb 2017 09:59:36 +0530 Subject: [PATCH] Configure yapf/isort --- setup.cfg | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/setup.cfg b/setup.cfg index d474ad836..e91e6a828 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,14 @@ [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 + +[isort] +combine_as_imports = True +multi_line_output = 5