[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 36/44] python: move .isort.cfg into setup.cfg
From: |
John Snow |
Subject: |
[PULL 36/44] python: move .isort.cfg into setup.cfg |
Date: |
Thu, 27 May 2021 22:32:12 -0400 |
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>
---
python/.isort.cfg | 7 -------
python/setup.cfg | 8 ++++++++
2 files changed, 8 insertions(+), 7 deletions(-)
delete mode 100644 python/.isort.cfg
diff --git a/python/.isort.cfg b/python/.isort.cfg
deleted file mode 100644
index 6d0fd6cc0d3..00000000000
--- 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 b485d6161d5..3f07bd2752d 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
--
2.31.1
- [PULL 25/44] python: add directory structure README.rst files, (continued)
- [PULL 25/44] python: add directory structure README.rst files, John Snow, 2021/05/27
- [PULL 26/44] python: add MANIFEST.in, John Snow, 2021/05/27
- [PULL 28/44] python: add pylint import exceptions, John Snow, 2021/05/27
- [PULL 29/44] python: move pylintrc into setup.cfg, John Snow, 2021/05/27
- [PULL 27/44] python: Add pipenv support, John Snow, 2021/05/27
- [PULL 30/44] python: add pylint to pipenv, John Snow, 2021/05/27
- [PULL 31/44] python: move flake8 config to setup.cfg, John Snow, 2021/05/27
- [PULL 32/44] python: add excluded dirs to flake8 config, John Snow, 2021/05/27
- [PULL 33/44] python: Add flake8 to pipenv, John Snow, 2021/05/27
- [PULL 34/44] python: move mypy.ini into setup.cfg, John Snow, 2021/05/27
- [PULL 36/44] python: move .isort.cfg into setup.cfg,
John Snow <=
- [PULL 35/44] python: add mypy to pipenv, John Snow, 2021/05/27
- [PULL 37/44] python/qemu: add isort to pipenv, John Snow, 2021/05/27
- [PULL 38/44] python/qemu: add qemu package itself to pipenv, John Snow, 2021/05/27
- [PULL 40/44] python: add avocado-framework and tests, John Snow, 2021/05/27
- [PULL 39/44] python: add devel package requirements to setuptools, John Snow, 2021/05/27
- [PULL 42/44] python: add .gitignore, John Snow, 2021/05/27
- [PULL 41/44] python: add Makefile for some common tasks, John Snow, 2021/05/27
- [PULL 44/44] gitlab: add python linters to CI, John Snow, 2021/05/27
- [PULL 43/44] python: add tox support, John Snow, 2021/05/27
- Re: [PULL 00/44] Python patches, Peter Maydell, 2021/05/30