Skip to content

Commit

Permalink
Rename branch from master to main in tests CI
Browse files Browse the repository at this point in the history
  • Loading branch information
WojtekMs committed Nov 30, 2023
1 parent ab654a7 commit 57d72c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Run unit tests

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

jobs:
tests:
Expand Down
2 changes: 1 addition & 1 deletion src/banker/parser/html_transactions_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def __parse_transactions_table(self, content: str) -> pandas.DataFrame | None:
tables = pandas.read_html(io.StringIO(content), attrs={'id': 'lista_transakcji'})
return tables[0]
except ValueError:
self.logger.warning(f"Invalid HTML literal, transactions table is missing")
self.logger.warning("Invalid HTML literal, transactions table is missing")
return None

def parse_transactions(self, content: str) -> list[Transaction]:
Expand Down

0 comments on commit 57d72c8

Please sign in to comment.