summaryrefslogtreecommitdiffstats
path: root/meta/lib/patchtest/tests/test_python_pylint.py
diff options
context:
space:
mode:
authorTrevor Gamblin <tgamblin@baylibre.com>2024-09-24 07:55:01 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-09-30 17:00:50 +0100
commit4c378fc89566a329d0974bbcfefc7405779bc919 (patch)
tree4175c6d63b024e39dc9a7f02a77f1ff3cab8088f /meta/lib/patchtest/tests/test_python_pylint.py
parent18a65c77c0e729dd1835852336e57ff4922f2674 (diff)
downloadpoky-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.py3
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
7import base 7import base
8import patterns
9from io import StringIO 8from io import StringIO
10from data import PatchTestInput 9from patchtest_parser import PatchtestParser
11from pylint.reporters.text import TextReporter 10from pylint.reporters.text import TextReporter
12import pylint.lint as lint 11import pylint.lint as lint
13 12