Skip to content

Commit

Permalink
Fix commit step in format.yml, add whitespace to test formatting in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacCheng9 committed Jun 25, 2024
1 parent 81472c7 commit e9974da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
args: "format --check --exclude src/trading_portfolio_tracker/ui"

- name: Commit changes made by Black
- name: Commit changes made by Ruff
uses: stefanzweifel/git-auto-commit-action@master
with:
commit_message: Format Python code with Ruff
Expand Down
1 change: 1 addition & 0 deletions tests/test_finance.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ def test_get_exchange_rate_valid_date(provided_date: str) -> None:
assert exch_rate > 0



def test_get_exchange_rate_too_old_date() -> None:
"""
Tests the get_exchange_rate method providing a date that is too old for
Expand Down

0 comments on commit e9974da

Please sign in to comment.