diff options
author | Vratko Polak <vrpolak@cisco.com> | 2023-10-18 09:13:32 +0200 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2023-10-18 12:01:55 +0000 |
commit | c6c0ad58319508dd1d17a0b87b55c4dc543a29cf (patch) | |
tree | b739d1078dc7cbef9f409b90bcdbb04ae9960fbb | |
parent | ee1c11c6adb17760eb5926baea79cda3ed23abbd (diff) |
fix(tox): move dependency to requirements.txt
Two reasons.
Most importantly, executor image creation scripts
will now see the pylint version used in tox job.
Additionally, this makes it easier for people
to run pylint locally (without checking all files as tox does).
Change-Id: I89f1d428e676e27d6f35c79ca9c22224c4c99a3e
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
-rw-r--r-- | requirements.txt | 3 | ||||
-rw-r--r-- | tox.ini | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/requirements.txt b/requirements.txt index a4766e1fc6..398d6896ed 100644 --- a/requirements.txt +++ b/requirements.txt @@ -44,6 +44,9 @@ jsonschema==4.18.4 rfc3339-validator==0.1.4 rfc3987==1.3.8 +# Dependencies for some tox checkers (not tox setup itself). +pylint==3.0.1 + # Other PIP freeze dependencies. attrs==23.1.0 bcrypt==4.0.1 @@ -78,9 +78,7 @@ commands = bash {[tox]script_dir}/new_line.sh ignore_outcome = true setenv = PYTHONPATH = {toxinidir} basepython = python3 -deps = - pylint==3.0.1 - -r ./requirements.txt +deps = -r ./requirements.txt whitelist_externals = /bin/bash commands = bash {[tox]script_dir}/pylint.sh |