diff --git a/tests/primer/primer_tool.py b/tests/primer/primer_tool.py index 2a94dfb559..8f6660916a 100644 --- a/tests/primer/primer_tool.py +++ b/tests/primer/primer_tool.py @@ -273,7 +273,7 @@ def _create_comment( if len(comment) + len(hash_information) >= MAX_GITHUB_COMMENT_LENGTH: truncation_information = ( f"*This comment was truncated because GitHub allows only" - f"{MAX_GITHUB_COMMENT_LENGTH} characters in a comment.*" + f" {MAX_GITHUB_COMMENT_LENGTH} characters in a comment.*" ) max_len = ( MAX_GITHUB_COMMENT_LENGTH @@ -292,8 +292,6 @@ def _lint_package(self, data: PackageToLint) -> list[dict[str, str | int]]: # TODO: Find a way to allow cyclic-import and compare output correctly disables = ["--disable=duplicate-code,cyclic-import"] arguments = data.pylint_args + enables + disables - if data.pylintrc_relpath: - arguments += [f"--rcfile={data.pylintrc_relpath}"] output = StringIO() reporter = JSONReporter(output) Run(arguments, reporter=reporter, exit=False)