aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2021-05-27 17:17:07 -0400
committerJohn Snow <jsnow@redhat.com>2021-06-01 16:21:21 -0400
commit158ac451b9e1029798f8fdc103fef64830e4314e (patch)
tree6223fa2dccdacfc9e59da951cbf02c2baa08fa41 /python
parent0542a4c95767b2370cb6622efe723bb6197aa04c (diff)
python: move .isort.cfg into setup.cfg
Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Cleber Rosa <crosa@redhat.com> Message-id: 20210527211715.394144-24-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'python')
-rw-r--r--python/.isort.cfg7
-rw-r--r--python/setup.cfg8
2 files changed, 8 insertions, 7 deletions
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 b485d6161d..3f07bd2752 100644
--- a/python/setup.cfg
+++ b/python/setup.cfg
@@ -61,3 +61,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