Commit Graph

91 Commits

Author SHA1 Message Date
Richard Kubíček
964882bc5d test_client_contact: fix pytest.fixture 2025-03-12 22:02:29 +01:00
Richard Kubíček
c861f35ad2 test_client_contact: add api credinitials 2025-03-12 21:51:55 +01:00
Richard Kubíček
133702dc1d test_superfaktura_api: fix format 2025-03-12 21:49:10 +01:00
Richard Kubíček
765334ed92 test_client_contact: add tests 2025-03-12 21:49:00 +01:00
Richard Kubíček
b41bf28a34 test_superfaktura_api: fix unnecessary mock file open 2025-03-11 21:23:56 +01:00
Richard Kubíček
8d3b2589b0 test_superfaktura_api: add test download with not writable file descriptor 2025-03-11 21:18:14 +01:00
Richard Kubíček
d2cbbd0596 test_superfaktura_api: add test invalid json as repsonse from the server 2025-03-11 21:18:14 +01:00
Richard Kubíček
45259f8f27 Update pytest.yml 2025-03-05 22:24:27 +01:00
Richard Kubíček
5b50f2c3eb ga: fix workflow for pylint 2025-03-05 13:15:43 +01:00
Richard Kubíček
16cb1b39ba ga: add workflow for pytest 2025-03-05 13:07:12 +01:00
Richard Kubíček
e2f89cf754 requirements_dev: add pytest-cov 2025-03-05 13:00:04 +01:00
Richard Kubíček
886004a20a test: introduce basic tests 2025-03-05 12:07:46 +01:00
Richard Kubíček
e668f76b4c requirements: add setuptools 2025-03-05 12:07:27 +01:00
Richard Kubíček
a80ad31555 Update setup.py v1.0.0 2025-03-04 14:57:43 +01:00
Richard Kubíček
940c989be8 Merge pull request #2 from Eledio/feature/obtainPDFInvoice
Obtain PDF version of the invoice
2025-03-04 14:56:18 +01:00
Richard Kubíček
d837a2e385 add_invoice: add try-except clause 2025-03-04 14:07:07 +01:00
Richard Kubíček
b1b887da10 add_invoice: remove unused dependency 2025-03-04 14:04:37 +01:00
Richard Kubíček
e43bf6eb82 invoice: fix typo 2025-03-04 13:59:41 +01:00
Richard Kubíček
4a66302303 add_inovice: add some protection clauses 2025-03-04 13:59:01 +01:00
Richard Kubíček
0319228ba1 ruff: add configuration 2025-03-04 13:52:44 +01:00
Richard Kubíček
735f212a22 invoice: fix docstring 2025-03-04 13:50:34 +01:00
Richard Kubíček
e8a379fc4f superfaktura_api: fix download method docstring example 2025-03-04 13:47:52 +01:00
Richard Kubíček
3d39ac39b2 superfaktura_api: preserve the exception context 2025-03-04 13:47:07 +01:00
Richard Kubíček
8d5bf14be3 superfaktura_api: add download method for save IO[bytes] data stream 2025-03-04 13:40:40 +01:00
Richard Kubíček
bb6b6343b0 superfaktura_api: fix return values of get method 2025-03-04 13:10:34 +01:00
Richard Kubíček
2eedefec83 Revert "Auxiliary commit to revert individual files from 73da343c610420f68792306d5fcdd46f1c86edb8"
This reverts commit e925cf182acf7c18cfd27351e72baed328d43e2c.
2025-03-04 13:06:22 +01:00
Richard Kubíček
532c58cbd5 api: simplify api get request 2025-03-04 13:06:22 +01:00
Richard Kubíček
eeb9f15160 Merge pull request #9 from Eledio/feature/updateDocs
Update documentation
2025-03-03 20:50:55 +01:00
Richard Kubíček
30f0e36643 bank_account: update usages in docs 2025-03-03 20:45:42 +01:00
Richard Kubíček
89536bcb83 invoice: update usages in docs 2025-03-03 20:44:33 +01:00
Richard Kubíček
a49aba6d46 superfaktura_api: update usages in docs 2025-03-03 20:37:07 +01:00
Richard Kubíček
ec9a83be30 setup: fix licence 2025-03-03 20:22:34 +01:00
Richard Kubíček
73da343c61 api: remove data_format and simplify usages of get request 2025-03-03 20:22:34 +01:00
Richard Kubíček
92ae1f615e examples: simplify add_invoice 2025-03-03 20:22:34 +01:00
Richard Kubíček
a20ae3fad0 examples: add examples to the docs 2025-03-03 20:22:34 +01:00
Richard Kubíček
fa3d2ddf32 examples: add get_country_list and add_invoice 2025-03-03 20:22:34 +01:00
Richard Kubíček
1cf1498b25 examples: move save_temporary_file_as_pdf to tools 2025-03-03 20:22:34 +01:00
Richard Kubíček
e21b7332d0 save_temporary_file_as_pdf: fix method 2025-03-03 20:22:34 +01:00
Richard Kubíček
7b5d787ab8 invoice: do not use tempfile 2025-03-03 20:22:34 +01:00
Richard Kubíček
ff7ab2ba9a fixes after rebase 2025-03-03 20:22:34 +01:00
Richard Kubíček
84f5cd8642 setup: format 2025-03-03 20:22:34 +01:00
Richard Kubíček
5d6cb1c304 invoice: obtain invoice in the pdf format 2025-03-03 20:22:34 +01:00
Richard Kubíček
5a85c2eb00 superfaktura_api: allow get request response body in pdf, not only in json 2025-03-03 20:22:34 +01:00
Richard Kubíček
4edf8fd84c Add pdf helper -> save temporary file to pdf 2025-03-03 20:22:34 +01:00
Richard Kubíček
6ce895a5e1 Add language and data format enumerations 2025-03-03 20:22:34 +01:00
Richard Kubíček
1174404db6 Merge pull request #8 from Eledio/feature/updateDocs
docs: fix installation regarding the repo owner
2025-03-03 20:20:44 +01:00
Richard Kubíček
3b0104bd11 docs: fix installation regarding the repo owner 2025-03-03 20:20:20 +01:00
Richard Kubíček
5fd46edc5d Merge pull request #7 from Eledio/feature/githubTemplates
Update issue templates
2025-03-01 18:38:15 +01:00
Richard Kubíček
13d4d94af6 Update issue templates 2025-03-01 18:36:35 +01:00
Richard Kubíček
1b134422e8 Merge pull request #6 from Eledio/feature/updateReadme
Update README.md
2025-02-28 19:32:19 +01:00