From 66b2815fd8c2ebaac0ee09aafa2b1e1c129bbdb7 Mon Sep 17 00:00:00 2001 From: Tobias Kuhn Date: Thu, 9 Oct 2025 16:36:17 +0200 Subject: [PATCH 1/4] Fix note in Example --- .vscode/settings.json | 22 ++++++++++++++++++++++ README.rst | 4 +--- 2 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..a6191ed --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,22 @@ +{ + "workbench.colorCustomizations": { + "activityBar.activeBackground": "#b9db9a", + "activityBar.background": "#b9db9a", + "activityBar.foreground": "#15202b", + "activityBar.inactiveForeground": "#15202b99", + "activityBarBadge.background": "#5b8dc4", + "activityBarBadge.foreground": "#15202b", + "commandCenter.border": "#15202b99", + "sash.hoverBorder": "#b9db9a", + "statusBar.background": "#9fce74", + "statusBar.foreground": "#15202b", + "statusBarItem.hoverBackground": "#85c14e", + "statusBarItem.remoteBackground": "#9fce74", + "statusBarItem.remoteForeground": "#15202b", + "titleBar.activeBackground": "#9fce74", + "titleBar.activeForeground": "#15202b", + "titleBar.inactiveBackground": "#9fce7499", + "titleBar.inactiveForeground": "#15202b99" + }, + "peacock.color": "#9fce74" +} \ No newline at end of file diff --git a/README.rst b/README.rst index b2ba766..f3f0975 100644 --- a/README.rst +++ b/README.rst @@ -68,9 +68,7 @@ Generating:: doc.header.issue_date_time = date.today() doc.header.languages.add("de") - note = IncludedNote() - note.content.add("Test Node 1") - doc.header.notes.add(note) + doc.header.notes.add(IncludedNote(content="Test Node 1")) doc.trade.agreement.seller.name = "Lieferant GmbH" doc.trade.settlement.payee.name = "Lieferant GmbH" From 700e0aafe496f7d64ff4aed2e2d006d81f61ff08 Mon Sep 17 00:00:00 2001 From: Tobias Kuhn Date: Thu, 9 Oct 2025 16:42:45 +0200 Subject: [PATCH 2/4] Remove .vscode/settings.json from repo and ignore it --- .vscode/settings.json | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index a6191ed..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "workbench.colorCustomizations": { - "activityBar.activeBackground": "#b9db9a", - "activityBar.background": "#b9db9a", - "activityBar.foreground": "#15202b", - "activityBar.inactiveForeground": "#15202b99", - "activityBarBadge.background": "#5b8dc4", - "activityBarBadge.foreground": "#15202b", - "commandCenter.border": "#15202b99", - "sash.hoverBorder": "#b9db9a", - "statusBar.background": "#9fce74", - "statusBar.foreground": "#15202b", - "statusBarItem.hoverBackground": "#85c14e", - "statusBarItem.remoteBackground": "#9fce74", - "statusBarItem.remoteForeground": "#15202b", - "titleBar.activeBackground": "#9fce74", - "titleBar.activeForeground": "#15202b", - "titleBar.inactiveBackground": "#9fce7499", - "titleBar.inactiveForeground": "#15202b99" - }, - "peacock.color": "#9fce74" -} \ No newline at end of file From 2abba0cbbc026367854f5c7b5cef907dc7be0407 Mon Sep 17 00:00:00 2001 From: Tobias Kuhn Date: Thu, 30 Oct 2025 10:54:18 +0100 Subject: [PATCH 3/4] fix type --- .vscode/settings.json | 22 ++++++++++++++++++++++ README.rst | 2 +- tests/conftest.py | 2 +- 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..a6191ed --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,22 @@ +{ + "workbench.colorCustomizations": { + "activityBar.activeBackground": "#b9db9a", + "activityBar.background": "#b9db9a", + "activityBar.foreground": "#15202b", + "activityBar.inactiveForeground": "#15202b99", + "activityBarBadge.background": "#5b8dc4", + "activityBarBadge.foreground": "#15202b", + "commandCenter.border": "#15202b99", + "sash.hoverBorder": "#b9db9a", + "statusBar.background": "#9fce74", + "statusBar.foreground": "#15202b", + "statusBarItem.hoverBackground": "#85c14e", + "statusBarItem.remoteBackground": "#9fce74", + "statusBarItem.remoteForeground": "#15202b", + "titleBar.activeBackground": "#9fce74", + "titleBar.activeForeground": "#15202b", + "titleBar.inactiveBackground": "#9fce7499", + "titleBar.inactiveForeground": "#15202b99" + }, + "peacock.color": "#9fce74" +} \ No newline at end of file diff --git a/README.rst b/README.rst index f3f0975..3a2348f 100644 --- a/README.rst +++ b/README.rst @@ -68,7 +68,7 @@ Generating:: doc.header.issue_date_time = date.today() doc.header.languages.add("de") - doc.header.notes.add(IncludedNote(content="Test Node 1")) + doc.header.notes.add(IncludedNote(content="Test Note 1")) doc.trade.agreement.seller.name = "Lieferant GmbH" doc.trade.settlement.payee.name = "Lieferant GmbH" diff --git a/tests/conftest.py b/tests/conftest.py index 5238a6f..74e030e 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -22,7 +22,7 @@ def invoice_document(request): doc.header.issue_date_time = date.today() doc.header.languages.add("de") - doc.header.notes.add(IncludedNote(content="Test Node 1")) + doc.header.notes.add(IncludedNote(content="Test Note 1")) doc.trade.agreement.seller.name = "Lieferant GmbH" doc.trade.settlement.payee.name = "Lieferant GmbH" From 87856cef22eb01d783d095ec4bed44f6a5908660 Mon Sep 17 00:00:00 2001 From: Tobias Kuhn Date: Thu, 30 Oct 2025 10:58:02 +0100 Subject: [PATCH 4/4] remove settings.json --- .vscode/settings.json | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index a6191ed..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "workbench.colorCustomizations": { - "activityBar.activeBackground": "#b9db9a", - "activityBar.background": "#b9db9a", - "activityBar.foreground": "#15202b", - "activityBar.inactiveForeground": "#15202b99", - "activityBarBadge.background": "#5b8dc4", - "activityBarBadge.foreground": "#15202b", - "commandCenter.border": "#15202b99", - "sash.hoverBorder": "#b9db9a", - "statusBar.background": "#9fce74", - "statusBar.foreground": "#15202b", - "statusBarItem.hoverBackground": "#85c14e", - "statusBarItem.remoteBackground": "#9fce74", - "statusBarItem.remoteForeground": "#15202b", - "titleBar.activeBackground": "#9fce74", - "titleBar.activeForeground": "#15202b", - "titleBar.inactiveBackground": "#9fce7499", - "titleBar.inactiveForeground": "#15202b99" - }, - "peacock.color": "#9fce74" -} \ No newline at end of file