ci: freeze versions of certain packages in travis build

Fix the versions of black, flake8, and isort in travis so that the same
versions are being used to pass/fail the build as developers are using
in their pre-commit hooks
This commit is contained in:
Mike Salvatore 2021-04-05 10:22:27 -04:00
parent 6ffc527f31
commit 4966aaf213
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ install:
# Python
- pip freeze
- pip install -r monkey/monkey_island/requirements.txt # for unit tests
- pip install black flake8 pytest pytest-cov dlint isort # for next stages
- pip install black==20.8b1 flake8==3.9.0 pytest pytest-cov dlint isort==5.8.0 # for next stages
- pip install coverage # for code coverage
- pip install -r monkey/infection_monkey/requirements.txt # for unit tests
- pip install pipdeptree