Adam Turner
e17ed74fe0
Remove unneeded content from within `with
` statements
2025-01-04 09:11:33 +00:00
Adam Turner
3af48520d2
Require the PEP 563 'annotations' future import
2024-11-22 21:54:26 +00:00
Adam Turner
801c60a873
Consistently calculate the current file's directory
2024-11-03 17:28:02 +00:00
James Addison
b4d2058310
Restore relative path output in the babel runner ( #12773 )
2024-08-12 14:54:31 +01:00
Adam Turner
18fbced7e0
Reduce the formatter's target line length to 88 ( #12757 )
2024-08-11 00:19:50 +01:00
Adam Turner
a69ca674cc
Use pathlib in `babel_runner.py
` ( #12666 )
2024-07-23 16:54:58 +01:00
danieleades
f8e9669f8b
Disallow untyped definitions ( #12637 )
...
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-07-23 01:42:53 +01:00
Adam Turner
9e3f4521db
Drop support for Python 3.9 ( #12633 )
2024-07-22 15:05:15 +01:00
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