Skip to content

Commit

Permalink
improve requirements.txt usage
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-mangin committed Oct 25, 2024
1 parent 545b48b commit 48b15e5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install psutil
pip install flake8
pip install ruff
pip install -r qa/requirements.txt
- name: flake8
run: |
flake8 . --exclude src/exabgp/vendoring/ --exclude build/ --exclude site-packages --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 . --max-line-length 120 --exclude src/exabgp/vendoring/ --exclude build/ --exclude site-packages --count --select=E9,F63,F7,F82 --show-source --statistics
- name: ruff
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/unit-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-cov
pip install -r qa/requirements.txt
- name: pytest
run: |
Expand Down
1 change: 1 addition & 0 deletions qa/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# running the test suite/code
ruff
flake8
coveralls
nose
Expand Down

0 comments on commit 48b15e5

Please sign in to comment.