summaryrefslogtreecommitdiff
path: root/pylint/testutils
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2023-03-21 12:38:13 +0100
committerGitHub <noreply@github.com>2023-03-21 12:38:13 +0100
commitd6595750c67f9101b842291ed44bafde7b065bd8 (patch)
tree12b54e320083564f59a36cd58676dd8069a2b2f0 /pylint/testutils
parent77a392d04b11eb2c438c38fc187890faefd760e3 (diff)
downloadpylint-git-d6595750c67f9101b842291ed44bafde7b065bd8.tar.gz
[deprecation] Remove 'do_exit' from the 'Run' constructor (#8472)
Diffstat (limited to 'pylint/testutils')
-rw-r--r--pylint/testutils/_run.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/pylint/testutils/_run.py b/pylint/testutils/_run.py
index 0ad68868f..f1e7fbb9a 100644
--- a/pylint/testutils/_run.py
+++ b/pylint/testutils/_run.py
@@ -10,10 +10,8 @@ This module is considered private and can change at any time.
from __future__ import annotations
from collections.abc import Sequence
-from typing import Any
from pylint.lint import Run as LintRun
-from pylint.lint.run import UNUSED_PARAM_SENTINEL
from pylint.reporters.base_reporter import BaseReporter
from pylint.testutils.lint_module_test import PYLINTRC
@@ -39,7 +37,6 @@ class _Run(LintRun):
args: Sequence[str],
reporter: BaseReporter | None = None,
exit: bool = True, # pylint: disable=redefined-builtin
- do_exit: Any = UNUSED_PARAM_SENTINEL,
) -> None:
args = _add_rcfile_default_pylintrc(list(args))
- super().__init__(args, reporter, exit, do_exit)
+ super().__init__(args, reporter, exit)