summaryrefslogtreecommitdiff
path: root/tests/primer/test_primer_external.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2023-03-14 19:44:38 +0100
committerGitHub <noreply@github.com>2023-03-14 19:44:38 +0100
commit1eef2273aee4c5a2e287f7470d6da3a3ae7d0760 (patch)
treecb29286317426645a9e42eb04f66d4cdf31afeb3 /tests/primer/test_primer_external.py
parent0d463f6e2127b81e2d13c482871f82b4c991f7bd (diff)
downloadpylint-git-1eef2273aee4c5a2e287f7470d6da3a3ae7d0760.tar.gz
[ruff] Add RUF specific rules and autofix (#8449)
Diffstat (limited to 'tests/primer/test_primer_external.py')
-rw-r--r--tests/primer/test_primer_external.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/primer/test_primer_external.py b/tests/primer/test_primer_external.py
index 01b1367b1..65e21f280 100644
--- a/tests/primer/test_primer_external.py
+++ b/tests/primer/test_primer_external.py
@@ -64,7 +64,7 @@ class TestPrimer:
enables = ["--enable-all-extensions", "--enable=all"]
# Duplicate code takes too long and is relatively safe
disables = ["--disable=duplicate-code"]
- command = ["pylint"] + enables + disables + package.pylint_args
+ command = ["pylint", *enables, *disables, *package.pylint_args]
logging.info("Launching primer:\n%s", " ".join(command))
subprocess.run(command, check=True)
except subprocess.CalledProcessError as ex: