Skip to content

Commit

Permalink
Adds black
Browse files Browse the repository at this point in the history
  • Loading branch information
steffencruz committed Jan 17, 2024
1 parent 620dda1 commit a78441c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
python -m pip install flake8 pytest black
pip install -r requirements.txt
pip install -r prompting/requirements.txt
Expand All @@ -37,6 +37,9 @@ jobs:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Black
run: |
black .
- name: Test with pytest
run: |
pytest

0 comments on commit a78441c

Please sign in to comment.