diff mbox series

[8/8] python/qapi: remove redundant linter configuration

Message ID 20240820002318.1380276-9-jsnow@redhat.com
State New
Headers show
Series move qapi under python/qemu/ | expand

Commit Message

John Snow Aug. 20, 2024, 12:23 a.m. UTC
Now that the qemu.qapi module is checked by the standard python tests,
we don't need separate configuration for it anymore.

Signed-off-by: John Snow <jsnow@redhat.com>
---
 python/qemu/qapi/.flake8    |  3 --
 python/qemu/qapi/.isort.cfg |  7 -----
 python/qemu/qapi/mypy.ini   |  4 ---
 python/qemu/qapi/pylintrc   | 61 -------------------------------------
 4 files changed, 75 deletions(-)
 delete mode 100644 python/qemu/qapi/.flake8
 delete mode 100644 python/qemu/qapi/.isort.cfg
 delete mode 100644 python/qemu/qapi/mypy.ini
 delete mode 100644 python/qemu/qapi/pylintrc
diff mbox series

Patch

diff --git a/python/qemu/qapi/.flake8 b/python/qemu/qapi/.flake8
deleted file mode 100644
index a873ff67309..00000000000
--- a/python/qemu/qapi/.flake8
+++ /dev/null
@@ -1,3 +0,0 @@ 
-[flake8]
-# Prefer pylint's bare-except checks to flake8's
-extend-ignore = E722
diff --git a/python/qemu/qapi/.isort.cfg b/python/qemu/qapi/.isort.cfg
deleted file mode 100644
index 643caa1fbd6..00000000000
--- a/python/qemu/qapi/.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
diff --git a/python/qemu/qapi/mypy.ini b/python/qemu/qapi/mypy.ini
deleted file mode 100644
index 8109470a031..00000000000
--- a/python/qemu/qapi/mypy.ini
+++ /dev/null
@@ -1,4 +0,0 @@ 
-[mypy]
-strict = True
-disallow_untyped_calls = False
-python_version = 3.8
diff --git a/python/qemu/qapi/pylintrc b/python/qemu/qapi/pylintrc
deleted file mode 100644
index c028a1f9f51..00000000000
--- a/python/qemu/qapi/pylintrc
+++ /dev/null
@@ -1,61 +0,0 @@ 
-[MASTER]
-
-[MESSAGES CONTROL]
-
-# Disable the message, report, category or checker with the given id(s). You
-# can either give multiple identifiers separated by comma (,) or put this
-# option multiple times (only on the command line, not in the configuration
-# file where it should appear only once). You can also use "--disable=all" to
-# disable everything first and then reenable specific checks. For example, if
-# you want to run only the similarities checker, you can use "--disable=all
-# --enable=similarities". If you want to run only the classes checker, but have
-# no Warning level messages displayed, use "--disable=all --enable=classes
-# --disable=W".
-disable=consider-using-f-string,
-        fixme,
-        missing-docstring,
-        too-many-arguments,
-        too-many-branches,
-        too-many-instance-attributes,
-        too-many-statements,
-        useless-option-value,
-
-[REPORTS]
-
-[REFACTORING]
-
-[MISCELLANEOUS]
-
-[LOGGING]
-
-[BASIC]
-
-# Good variable names regexes, separated by a comma. If names match any regex,
-# they will always be accepted.
-#
-# Suppress complaints about short names.  PEP-8 is cool with them,
-# and so are we.
-good-names-rgxs=^[_a-z][_a-z0-9]?$
-
-[VARIABLES]
-
-[STRING]
-
-[SPELLING]
-
-[FORMAT]
-
-[SIMILARITIES]
-
-# Ignore import statements themselves when computing similarities.
-ignore-imports=yes
-
-[TYPECHECK]
-
-[CLASSES]
-
-[IMPORTS]
-
-[DESIGN]
-
-[EXCEPTIONS]