Skip to content

Commit 3117bbb

Browse files
don't duplicate --rcfile arg
1 parent 79dfe9d commit 3117bbb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/primer/primer_tool.py

-2
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,6 @@ def _lint_package(self, data: PackageToLint) -> list[dict[str, str | int]]:
292292
# TODO: Find a way to allow cyclic-import and compare output correctly
293293
disables = ["--disable=duplicate-code,cyclic-import"]
294294
arguments = data.pylint_args + enables + disables
295-
if data.pylintrc_relpath:
296-
arguments += [f"--rcfile={data.pylintrc_relpath}"]
297295
output = StringIO()
298296
reporter = JSONReporter(output)
299297
Run(arguments, reporter=reporter, exit=False)

0 commit comments

Comments
 (0)