summaryrefslogtreecommitdiffstats
path: root/python/setup.cfg
diff options
context:
space:
mode:
authorG S Niteesh Babu2021-08-24 00:07:45 +0200
committerJohn Snow2021-09-27 18:10:29 +0200
commitf37c34d601b7786cf98aa8c9639b9ab6660a9af7 (patch)
tree3d39f1e98d4817abc0f3b3ba6d1e444fca806dd7 /python/setup.cfg
parentpython: Add entry point for aqmp-tui (diff)
downloadqemu-f37c34d601b7786cf98aa8c9639b9ab6660a9af7.tar.gz
qemu-f37c34d601b7786cf98aa8c9639b9ab6660a9af7.tar.xz
qemu-f37c34d601b7786cf98aa8c9639b9ab6660a9af7.zip
python: add optional pygments dependency
Added pygments as optional dependency for AQMP TUI. This is required for the upcoming syntax highlighting feature in AQMP TUI. The dependency has also been added in the devel optional group. Added mypy 'ignore_missing_imports' for pygments since it does not have any type stubs. Signed-off-by: G S Niteesh Babu <niteesh.gs@gmail.com> Message-Id: <20210823220746.28295-5-niteesh.gs@gmail.com> Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'python/setup.cfg')
-rw-r--r--python/setup.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/setup.cfg b/python/setup.cfg
index eefa9613f1..417e937839 100644
--- a/python/setup.cfg
+++ b/python/setup.cfg
@@ -46,6 +46,7 @@ devel =
tox >= 3.18.0
urwid >= 2.1.2
urwid-readline >= 0.13
+ Pygments >= 2.9.0
# Provides qom-fuse functionality
fuse =
@@ -55,6 +56,7 @@ fuse =
tui =
urwid >= 2.1.2
urwid-readline >= 0.13
+ Pygments >= 2.9.0
[options.entry_points]
console_scripts =
@@ -97,6 +99,9 @@ ignore_missing_imports = True
[mypy-urwid_readline]
ignore_missing_imports = True
+[mypy-pygments]
+ignore_missing_imports = True
+
[pylint.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