diff options
author | Gabriele Monaco <gmonaco@redhat.com> | 2024-10-17 08:42:39 +0200 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2024-11-19 08:57:13 -0500 |
commit | 571f8b3f866a6d990a50fe5c89fe0ea78784d70b (patch) | |
tree | 18c9f2d6aa3013036013846f902920bba5060fb9 /tools/build/feature | |
parent | 4d8c1ba0790b4341a58e2042810a952c62df06e9 (diff) |
verification/dot2: Improve dot parser robustness
This patch makes the dot parser used by dot2c and dot2k slightly more
robust, namely:
* allows parsing files with the gv extension (GraphViz)
* correctly parses edges with any indentation
* used to work only with a single character (e.g. '\t')
Additionally it fixes a couple of warnings reported by pylint such as
wrong indentation and comparison to False instead of `not ...`
Link: https://lore.kernel.org/20241017064238.41394-2-gmonaco@redhat.com
Signed-off-by: Gabriele Monaco <gmonaco@redhat.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/build/feature')
0 files changed, 0 insertions, 0 deletions