summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-02-17 23:19:58 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-02-17 23:51:41 +0100
commit22af4f9f6e52622a2d265ad9629555b9735958a7 (patch)
tree53ef50edc1db6ac7acbf806405112f528716f87e /setup.py
parentea96fc4bce94673671958e15d17bbcd75914b3f9 (diff)
downloadastroid-git-22af4f9f6e52622a2d265ad9629555b9735958a7.tar.gz
Use set litteral when possible
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index bd8720fd..43cad80a 100644
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,7 @@ with open(os.path.join(astroid_dir, "README.rst")) as fobj:
long_description = fobj.read()
-needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv)
+needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv)
pytest_runner = ["pytest-runner"] if needs_pytest else []