File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import os
22import sys
33
4- import sphinx_rtd_theme # type: ignore[import]
4+ import sphinx_rtd_theme
55
66sys .path .insert (0 , os .path .abspath ('..' ))
77
Original file line number Diff line number Diff line change @@ -365,7 +365,7 @@ def add_payment_request(
365365 reference : Optional [str ] = None ,
366366 payer_name : Optional [str ] = None ,
367367 bank_notification : Union [bool , str ] = False ,
368- strict : bool = False ,
368+ validate_due_date : bool = False ,
369369 ) -> 'PaymentRequest' :
370370 """Add an AvtaleGiro payment request to the assignment.
371371
@@ -380,7 +380,7 @@ def add_payment_request(
380380 self .type == AssignmentType .TRANSACTIONS
381381 ), 'Can only add payment requests to transaction assignments'
382382
383- if strict :
383+ if validate_due_date :
384384 # Make sure we're not passing invalid due dates
385385 validate_minimum_date (due_date )
386386
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ enable-extensions = TC, TC2
3030[mypy]
3131strict = True
3232show_error_codes = True
33- ignore_missing_imports = False
33+ ignore_missing_imports = True
3434warn_redundant_casts = True
3535warn_unused_configs = True
3636warn_unused_ignores = True
You can’t perform that action at this time.
0 commit comments