From 6bda1031fd7ae3b56ee5dc370c4bcde22b80dade Mon Sep 17 00:00:00 2001 From: Chris Patterson Date: Fri, 22 Nov 2019 13:42:00 -0500 Subject: [PATCH] isort: add black-friendly isort config Nearly perfect match config to black formatting with one exception: https://github.com/psf/black/issues/251 That gap should be filled with the 'ensure_newline_before_comments=True' that won't be honored until the next version of isort. Signed-off-by: Chris Patterson --- .isort.cfg | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .isort.cfg diff --git a/.isort.cfg b/.isort.cfg new file mode 100644 index 0000000000..c371bbefc6 --- /dev/null +++ b/.isort.cfg @@ -0,0 +1,7 @@ +[settings] +multi_line_output=3 +include_trailing_comma=True +force_grid_wrap=0 +use_parentheses=True +line_length=88 +ensure_newline_before_comments=True