X7ROOT File Manager
Current Path:
/opt/cloudlinux/venv/lib/python3.11/site-packages/pylint/testutils
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
pylint
/
testutils
/
ðŸ“
..
📄
__init__.py
(1.28 KB)
ðŸ“
__pycache__
ðŸ“
_primer
📄
_run.py
(1.51 KB)
📄
checker_test_case.py
(4.27 KB)
📄
configuration_test.py
(5.89 KB)
📄
constants.py
(1.12 KB)
📄
decorator.py
(1.22 KB)
ðŸ“
functional
📄
functional_test_file.py
(635 B)
📄
get_test_info.py
(2.08 KB)
📄
global_test_linter.py
(685 B)
📄
lint_module_test.py
(12.5 KB)
📄
output_line.py
(5.76 KB)
📄
pyreverse.py
(4.1 KB)
📄
reporter_for_tests.py
(2.25 KB)
📄
testing_pylintrc
(198 B)
📄
tokenize_str.py
(447 B)
📄
unittest_linter.py
(2.73 KB)
📄
utils.py
(3.06 KB)
Editing: global_test_linter.py
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html # For details: https://github.com/PyCQA/pylint/blob/main/LICENSE # Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt from pylint import checkers from pylint.lint import PyLinter from pylint.testutils.reporter_for_tests import GenericTestReporter def create_test_linter() -> PyLinter: test_reporter = GenericTestReporter() linter_ = PyLinter() linter_.set_reporter(test_reporter) linter_.config.persistent = 0 checkers.initialize(linter_) return linter_ # Can't be renamed to a constant (easily), it breaks countless tests linter = create_test_linter()
Upload File
Create Folder