Skip to content

Commit

Permalink
Removed type annotations from Enum to make mypy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
eprbell committed Jan 1, 2025
1 parent 3973416 commit f3052dd
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions src/rp2/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,37 +35,37 @@


class Keyword(Enum):
ACCOUNTING_METHODS: str = "accounting_methods"
ASSET: str = "asset"
ASSETS: str = "assets"
CRYPTO_FEE: str = "crypto_fee"
CRYPTO_IN: str = "crypto_in"
CRYPTO_OUT_NO_FEE: str = "crypto_out_no_fee"
CRYPTO_OUT_WITH_FEE: str = "crypto_out_with_fee"
CRYPTO_RECEIVED: str = "crypto_received"
CRYPTO_SENT: str = "crypto_sent"
EXCHANGE: str = "exchange"
EXCHANGES: str = "exchanges"
FIAT_FEE: str = "fiat_fee"
FIAT_IN_NO_FEE: str = "fiat_in_no_fee"
FIAT_IN_WITH_FEE: str = "fiat_in_with_fee"
FIAT_OUT_NO_FEE: str = "fiat_out_no_fee"
FROM_EXCHANGE: str = "from_exchange"
FROM_HOLDER: str = "from_holder"
GENERAL: str = "general"
GENERATORS: str = "generators"
HOLDER: str = "holder"
HOLDERS: str = "holders"
IN_HEADER: str = "in_header"
INTRA_HEADER: str = "intra_header"
NOTES: str = "notes"
OUT_HEADER: str = "out_header"
SPOT_PRICE: str = "spot_price"
TIMESTAMP: str = "timestamp"
TO_EXCHANGE: str = "to_exchange"
TO_HOLDER: str = "to_holder"
TRANSACTION_TYPE: str = "transaction_type"
UNIQUE_ID: str = "unique_id"
ACCOUNTING_METHODS = "accounting_methods"
ASSET = "asset"
ASSETS = "assets"
CRYPTO_FEE = "crypto_fee"
CRYPTO_IN = "crypto_in"
CRYPTO_OUT_NO_FEE = "crypto_out_no_fee"
CRYPTO_OUT_WITH_FEE = "crypto_out_with_fee"
CRYPTO_RECEIVED = "crypto_received"
CRYPTO_SENT = "crypto_sent"
EXCHANGE = "exchange"
EXCHANGES = "exchanges"
FIAT_FEE = "fiat_fee"
FIAT_IN_NO_FEE = "fiat_in_no_fee"
FIAT_IN_WITH_FEE = "fiat_in_with_fee"
FIAT_OUT_NO_FEE = "fiat_out_no_fee"
FROM_EXCHANGE = "from_exchange"
FROM_HOLDER = "from_holder"
GENERAL = "general"
GENERATORS = "generators"
HOLDER = "holder"
HOLDERS = "holders"
IN_HEADER = "in_header"
INTRA_HEADER = "intra_header"
NOTES = "notes"
OUT_HEADER = "out_header"
SPOT_PRICE = "spot_price"
TIMESTAMP = "timestamp"
TO_EXCHANGE = "to_exchange"
TO_HOLDER = "to_holder"
TRANSACTION_TYPE = "transaction_type"
UNIQUE_ID = "unique_id"


_HEADER_COLUMNS: Dict[str, Set[str]] = {
Expand Down

0 comments on commit f3052dd

Please sign in to comment.