Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/python-sanity-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ jobs:
run: |
sudo apt install -y libenchant-2-dev libcrack2-dev libssl-dev
python -m pip install --upgrade pip
pip install flake8 pylint #pytest
if [ -f local-requirements.txt ]; then pip install -r local-requirements.txt; fi
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f recommended.txt ]; then pip install -r recommended.txt; fi
# We may need git installed to get a full repo clone rather than unpacked archive
- name: Check out source repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -125,7 +127,7 @@ jobs:
run: |
dnf install -y enchant cracklib openssl-devel
python -m pip install --upgrade pip
pip install flake8 pylint #pytest
if [ -f local-requirements.txt ]; then pip install -r local-requirements.txt; fi
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f recommended.txt ]; then pip install -r recommended.txt; fi
# We need git installed to get a full repo clone rather than unpacked archive
Expand Down
2 changes: 2 additions & 0 deletions local-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
# This list is mainly used to specify addons needed for the unit tests.
# We only need autopep8 on py 3 as it's used in 'make fmt' (with py3)
autopep8;python_version >= "3"
flake8
# We need paramiko for the ssh unit tests
# NOTE: paramiko-3.0.0 dropped python2 and python3.6 support
paramiko;python_version >= "3.7"
paramiko<3;python_version < "3.7"
pylint
werkzeug