Skip to content

Commit

Permalink
make updated black happy
Browse files Browse the repository at this point in the history
  • Loading branch information
senko committed Dec 15, 2023
1 parent a9632ec commit 640914f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion fiskalhr/invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,6 @@ def get_ws_object_type(self) -> Any:
return self.client.type_factory.PrateciDokumentType

def to_ws_object(self) -> Any:

type_factory = self.get_ws_object_type()

# As a side-effect, this will verify there is minimal info
Expand Down
1 change: 0 additions & 1 deletion fiskalhr/oib.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ class OIB:
value: str

def __init__(self, oib: Union[str, "OIB"]):

if isinstance(oib, OIB):
oib = oib.value

Expand Down
1 change: 0 additions & 1 deletion fiskalhr/signature.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ def _load_xmlsec_cert(self, pem_path: str) -> None:

@staticmethod
def _load_hazmat_key(pem_path: str, password: Optional[str]) -> Any:

with open(pem_path, "rb") as key_file:
return serialization.load_pem_private_key(
key_file.read(),
Expand Down
2 changes: 0 additions & 2 deletions fiskalhr/ws.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ def submit_invoice(self, invoice: "Invoice") -> str:
return response.Jir

def change_payment_method(self, invoice: "InvoicePaymentMethodChange"):

self._call_service(
self.client.service.promijeniNacPlac,
dict(
Expand All @@ -180,7 +179,6 @@ def change_payment_method(self, invoice: "InvoicePaymentMethodChange"):
)

def submit_document(self, doc: "Document") -> str:

response = self._call_service(
self.client.service.prateciDokumenti,
dict(
Expand Down

0 comments on commit 640914f

Please sign in to comment.