summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAlexandru Fazakas <alexandru.fazakas@codethink.co.uk>2019-07-30 10:48:05 +0100
committerAlexandru Fazakas <alexandru.fazakas@codethink.co.uk>2019-07-30 10:49:06 +0100
commit21004c785c6987743890d1212ed4c24ea4f18fd2 (patch)
tree59ff13ac1c90d6a7490b1f5c27532286417d0db0 /tox.ini
parent8f505e641f21e042cb445acebe2993005f3311bc (diff)
downloadbuildstream-21004c785c6987743890d1212ed4c24ea4f18fd2.tar.gz
tox.ini: Allow linter to run on target files
Currently the linter can only lint everything we want. With this change, it should be able to only lint onre (or more) files.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 35bdec81a..d29d429ed 100644
--- a/tox.ini
+++ b/tox.ini
@@ -90,8 +90,8 @@ commands_pre =
{envpython} setup.py build_ext --inplace
commands =
- pycodestyle
- pylint src/buildstream tests
+ pycodestyle {posargs}
+ pylint {posargs: src/buildstream tests}
deps =
-rrequirements/requirements.txt
-rrequirements/dev-requirements.txt