Skip to content

Commit 058fe87

Browse files
don't duplicate --rcfile arg
1 parent 49b329f commit 058fe87

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
@@ -273,8 +273,6 @@ def _lint_package(self, data: PackageToLint) -> list[dict[str, str | int]]:
273273
# TODO: Find a way to allow cyclic-import and compare output correctly
274274
disables = ["--disable=duplicate-code,cyclic-import"]
275275
arguments = data.pylint_args + enables + disables
276-
if data.pylintrc_relpath:
277-
arguments += [f"--rcfile={data.pylintrc_relpath}"]
278276
output = StringIO()
279277
reporter = JSONReporter(output)
280278
Run(arguments, reporter=reporter, exit=False)

0 commit comments

Comments
 (0)