Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and lucasrcezimbra committed Nov 4, 2024
1 parent 3d2648c commit 101a03d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inter/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ def pay_barcode(self, barcode, value, due_date, payment_date=None):
"codBarraLinhaDigitavel": barcode,
"valorPagar": str(value),
"dataVencimento": due_date.strftime("%Y-%m-%d"),
"dataPagamento": payment_date.strftime("%Y-%m-%d")
if payment_date
else None,
"dataPagamento": (
payment_date.strftime("%Y-%m-%d") if payment_date else None
),
},
headers=self.headers,
cert=(self.cert_path, self.key_path),
Expand Down

0 comments on commit 101a03d

Please sign in to comment.