summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2018-08-12 04:10:27 +0100
committerJavier Jardón <jjardon@gnome.org>2018-08-12 04:20:25 +0100
commitdee0e9bf6fe906b998731155262c537efaa4792b (patch)
tree4358f285f90ced86dfe8d6e1f330268251f97957
parentf2f572cb660b5c13c7d144124ea8043223d169ec (diff)
downloadbuildstream-dee0e9bf6fe906b998731155262c537efaa4792b.tar.gz
dev-requirements.txt: Remove obsolete comments
This also fixes an error with pylint in setup.py: setup.py:226:19: R1718: Consider using a set comprehension (consider-using-set-comprehension)
-rw-r--r--dev-requirements.txt3
-rwxr-xr-xsetup.py3
2 files changed, 1 insertions, 5 deletions
diff --git a/dev-requirements.txt b/dev-requirements.txt
index d3d4ab64a..81429f0ef 100644
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -1,5 +1,3 @@
-# Pin coverage to 4.2 for now, we're experiencing
-# random crashes with 4.4.2
coverage == 4.4.0
pep8
pytest >= 3.1.0
@@ -8,5 +6,4 @@ pytest-datafiles
pytest-env
pytest-pep8
pytest-pylint
-# Provide option to run tests in parallel, less reliable
pytest-xdist
diff --git a/setup.py b/setup.py
index 700d9df96..f41289f12 100755
--- a/setup.py
+++ b/setup.py
@@ -223,8 +223,7 @@ def get_cmdclass():
#####################################################
setup_requires = set(['pytest-runner'])
with open('dev-requirements.txt') as dev_reqs:
- dev_requires = set([line for line in dev_reqs.read().split('\n')
- if not line.strip().startswith('#')])
+ dev_requires = dev_reqs.read().splitlines()
#####################################################