From 638bc8ccbb77a06b1955d98a70fc8e0253ab6cf8 2020-07-02 17:07:59 From: Brett Smith Date: 2020-07-02 17:07:59 Subject: [PATCH] accrual: Make comment not an actual type:ignore. --- diff --git a/conservancy_beancount/reports/accrual.py b/conservancy_beancount/reports/accrual.py index 6fe7afa116b53eeb7f63debb05be084cd8577cd9..71531daeb42df8f831f5c62cb0144dbb1f50cd11 100644 --- a/conservancy_beancount/reports/accrual.py +++ b/conservancy_beancount/reports/accrual.py @@ -470,7 +470,7 @@ class OutgoingReport(BaseReport): payment_methods = posts.meta_values('payment-method') payment_methods.discard(None) if all(isinstance(s, str) for s in payment_methods): - # type:ignore for + # type ignore for payment_methods = {s.strip().lower() for s in payment_methods} # type:ignore[union-attr] log_prefix = f"cannot set payment-method for rt:{ticket_id}:" payment_method_count = len(payment_methods)