diff options
| author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-02-17 23:19:58 +0100 |
|---|---|---|
| committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-02-17 23:51:41 +0100 |
| commit | 22af4f9f6e52622a2d265ad9629555b9735958a7 (patch) | |
| tree | 53ef50edc1db6ac7acbf806405112f528716f87e /setup.py | |
| parent | ea96fc4bce94673671958e15d17bbcd75914b3f9 (diff) | |
| download | astroid-git-22af4f9f6e52622a2d265ad9629555b9735958a7.tar.gz | |
Use set litteral when possible
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 [] |
