1
0

Fix for new ruff check
All checks were successful
Python Ruff Code Quality / ruff (push) Successful in 22s
Run Python tests (through Pytest) / Test (push) Successful in 25s
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 22s

This commit is contained in:
Jon Michael Aanes 2024-11-28 21:37:57 +01:00
parent fc17571a1c
commit 8d7e879751
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA
2 changed files with 8 additions and 2 deletions

View File

@ -27,7 +27,13 @@ import enforce_typing
from ._version import __version__ from ._version import __version__
__all__ = ['__version__', 'StockExchange', 'AssetAmount', 'Asset', 'ExchangeRateSample'] __all__ = [
'Asset',
'AssetAmount',
'ExchangeRateSample',
'StockExchange',
'__version__',
]
def parse_id_attr_key_value_pair(attr_datum: str) -> tuple[str, str | int] | None: def parse_id_attr_key_value_pair(attr_datum: str) -> tuple[str, str | int] | None:

View File

@ -17,7 +17,7 @@ VALID_IDS = [
'crypto:LOLCOIN', 'crypto:LOLCOIN',
'commodity:ALUMINUM', 'commodity:ALUMINUM',
'unknown:XXX', 'unknown:XXX',
'crypto: ', # CCXT actually found one with only whitespace. Why? 'crypto: ', # CCXT actually found one with only whitespace. Why?
] ]