diff options
author | Trevor Gamblin <tgamblin@baylibre.com> | 2024-09-24 07:55:01 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-09-30 17:00:50 +0100 |
commit | 4c378fc89566a329d0974bbcfefc7405779bc919 (patch) | |
tree | 4175c6d63b024e39dc9a7f02a77f1ff3cab8088f /meta/lib/patchtest/tests/test_python_pylint.py | |
parent | 18a65c77c0e729dd1835852336e57ff4922f2674 (diff) | |
download | poky-4c378fc89566a329d0974bbcfefc7405779bc919.tar.gz |
patchtest: simplify, rename modules
- simplify base.py, data.py
- move some leftover regex patterns to patterns.py
- remove pyparsing path logic, since this is no longer needed
- rename PatchTestInput class to PatchtestParser
- data.py: rename to patchtest_parser.py
- patterns.py: rename to patchtest_patterns.py
- move PatchTestDataStore to test_metadata.py since that's the only
place it's used
- remove unused logger code
(From OE-Core rev: 1e971b05b036b0b1eb0bdbd9b26b54d06e74294c)
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/patchtest/tests/test_python_pylint.py')
-rw-r--r-- | meta/lib/patchtest/tests/test_python_pylint.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/lib/patchtest/tests/test_python_pylint.py b/meta/lib/patchtest/tests/test_python_pylint.py index b03fd6f4f6..ec9129bc79 100644 --- a/meta/lib/patchtest/tests/test_python_pylint.py +++ b/meta/lib/patchtest/tests/test_python_pylint.py | |||
@@ -5,9 +5,8 @@ | |||
5 | # SPDX-License-Identifier: GPL-2.0-only | 5 | # SPDX-License-Identifier: GPL-2.0-only |
6 | 6 | ||
7 | import base | 7 | import base |
8 | import patterns | ||
9 | from io import StringIO | 8 | from io import StringIO |
10 | from data import PatchTestInput | 9 | from patchtest_parser import PatchtestParser |
11 | from pylint.reporters.text import TextReporter | 10 | from pylint.reporters.text import TextReporter |
12 | import pylint.lint as lint | 11 | import pylint.lint as lint |
13 | 12 | ||