17 Commits

Author SHA1 Message Date
Eric Lapouyade
a50b52b317 PR #552 + black all files 2024-07-21 16:10:44 +02:00
Tim Gates
2fd2140caf
docs: Fix a few typos
There are small typos in:
- docs/index.rst
- docxtpl/__main__.py
- docxtpl/template.py
- tests/embedded.py

Fixes:
- Should read `surrounding` rather than `surronding`.
- Should read `rendering` rather than `rendring`.
- Should read `providing` rather than `provinding`.
- Should read `optionally` rather than `optionnally`.
- Should read `optional` rather than `optionnal`.
- Should read `necessary` rather than `neccessary`.
- Should read `existing` rather than `exsting`.
- Should read `embedded` rather than `embdded`.
- Should read `dictionaries` rather than `dictionnaries`.
- Should read `cleaning` rather than `cleanning`.
- Should read `catches` rather than `cacthes`.

Signed-off-by: Tim Gates <tim.gates@iress.com>
2022-07-21 08:16:56 +10:00
Eric Lapouyade
e3e1ab58d1 Fix typo 2021-10-01 16:09:11 +02:00
Eric Lapouyade
727d07fa3e Changed code to be python < 3.6 compatible 2021-10-01 12:34:32 +02:00
Eric Lapouyade
0238472033 Changed code to be python < 3.6 compatible 2021-10-01 12:29:56 +02:00
Eric Lapouyade
5e8aeae272 Changed code to be python < 3.6 compatible 2021-10-01 12:25:45 +02:00
Eric Lapouyade
5dfe448a9a Changed code to be python < 3.6 compatible 2021-10-01 12:20:46 +02:00
Eric Lapouyade
541d5ce7cb Changed code to be python < 3.6 compatible 2021-10-01 12:11:43 +02:00
Eric Lapouyade
b0a5de05aa Codestyling 2021-10-01 08:31:19 +02:00
Eric Lapouyade
1f3ef9b236 Add quiet option, update doc, modify test 2021-09-30 17:08:05 +02:00
Lucas
7b2d7e1946 Added argument for overwrite without confirmation and constants for easier referencing of arguments 2021-09-30 09:39:40 -03:00
Lucas
2dee2ddd1c Small change in error message for main() 2021-09-29 13:04:47 -03:00
Lucas
5f3fe03108 Small change in error catching in validate function 2021-09-29 11:04:42 -03:00
Lucas
b6f9c992f5 Added function for rendering docx instead of directly calling method on DocxTemplate instance. Added exception chaining to a few functions there were missing it. 2021-09-29 10:35:26 -03:00
Lucas
a78462ee0f Reformat, added comments and small fixes in error catching 2021-09-29 09:46:16 -03:00
Lucas
8004fcf6bc Added basic functionality to make the module executable 2021-09-28 15:25:09 -03:00
Lucas
a45cc806d8 Added basic functionality to make the module executable 2021-09-28 15:12:29 -03:00