diff mbox series

[v2,13/15] python: move .isort.cfg into setup.cfg

Message ID 20201014142957.763624-14-jsnow@redhat.com
State Accepted
Commit 158ac451b9e1029798f8fdc103fef64830e4314e
Headers show
Series python: create installable package | expand

Commit Message

John Snow Oct. 14, 2020, 2:29 p.m. UTC
Signed-off-by: John Snow <jsnow@redhat.com>
---
 python/.isort.cfg | 7 -------
 python/setup.cfg  | 8 ++++++++
 2 files changed, 8 insertions(+), 7 deletions(-)
 delete mode 100644 python/.isort.cfg

Comments

Philippe Mathieu-Daudé Oct. 14, 2020, 6:08 p.m. UTC | #1
On 10/14/20 4:29 PM, John Snow wrote:
> Signed-off-by: John Snow <jsnow@redhat.com>

> ---

>   python/.isort.cfg | 7 -------

>   python/setup.cfg  | 8 ++++++++

>   2 files changed, 8 insertions(+), 7 deletions(-)


Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
diff mbox series

Patch

diff --git a/python/.isort.cfg b/python/.isort.cfg
deleted file mode 100644
index 6d0fd6cc0d..0000000000
--- a/python/.isort.cfg
+++ /dev/null
@@ -1,7 +0,0 @@ 
-[settings]
-force_grid_wrap=4
-force_sort_within_sections=True
-include_trailing_comma=True
-line_length=72
-lines_after_imports=2
-multi_line_output=3
\ No newline at end of file
diff --git a/python/setup.cfg b/python/setup.cfg
index 13a7a8cd9c..04ad3d91bc 100755
--- a/python/setup.cfg
+++ b/python/setup.cfg
@@ -54,3 +54,11 @@  good-names=i,
 [pylint.similarities]
 # Ignore imports when computing similarities.
 ignore-imports=yes
+
+[isort]
+force_grid_wrap=4
+force_sort_within_sections=True
+include_trailing_comma=True
+line_length=72
+lines_after_imports=2
+multi_line_output=3