Commit Graph

17 Commits

Author SHA1 Message Date
Adam Turner
bd6f87dd6a
Use Babel errors for the PR body in the transifex workflow (#12562)
Currently, when Babel fails for a locale, the entire PR fails.
Instead, just skip compiling the catalogue for that locale, and report the failures in the body of the PR to be more visible.
2024-07-13 18:26:32 +01:00
James Addison
0806a00f05
Support `.jinja` for theme static templates (#11916)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-04-23 10:40:24 +01:00
Adam Turner
7c783d3356 Whitelist failures in Tamil translations 2024-04-16 22:52:46 +01:00
Chris Sewell
392358d4de
🔧 Ruff format python files within utils folder (#12142)
Remove from `exclude` list
2024-03-19 19:32:28 +01:00
danieleades
768cf5e7ac
[lint] run mypy on the utils/ directory (#12090)
Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
2024-03-15 10:31:32 +01:00
danieleades
f7fbfaa471
Enable various pydocstyle (D) rules (#11878)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-01-14 21:13:46 +00:00
Adam Turner
17c1aa76c6 Add type hints to untyped definitions 2024-01-13 21:23:48 +00:00
Adam Turner
e010e24728 Fix B904 (raise exceptions with `raise ... from ...`) 2023-08-13 22:11:15 +01:00
Adam Turner
5c31195e91 Include the translated string in babel error messages 2023-07-24 13:33:12 +01:00
James Addison
59de8d5202
Revert "Support and prefer `.jinja to _t` for static templates (#11165)" (#11329)
This reverts commit 5d13215b58.
2023-04-23 19:06:44 +01:00
James Addison
5d13215b58
Support and prefer `.jinja to _t` for static templates (#11165)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-04-07 18:07:15 +01:00
Adam Turner
57545d0789 Update translations workflow for new `tx` client 2023-03-15 15:45:36 +00:00
Adam Turner
4d6aa53ae4 Refactor `utils/babel_runner.py` 2023-03-15 14:35:03 +00:00
Adam Turner
c8f4a03dac Fix COM812 2023-02-18 01:58:05 +00:00
danieleades
12bff8a273
Remove unneeded noqa lint suppression comments (#10772) 2022-08-28 20:03:17 +01:00
Adam Turner
0db2817328 Add command runners 2022-04-16 21:12:18 +01:00
Adam Turner
1e443bdcb4 Move compile_catalog_plusjs to utils/ 2022-04-16 20:01:03 +01:00