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
f34ea92821
Add a missing newline in utils/bump_version.py
2024-07-30 17:54:16 +01:00
Adam Turner
d409907d9e
Update `bump_version.py
`
2024-07-24 21:04:03 +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
3b009cd627
Mark type aliases with `TypeAlias
` ( #12658 )
2024-07-23 01:21:29 +01:00
Adam Turner
9e3f4521db
Drop support for Python 3.9 ( #12633 )
2024-07-22 15:05:15 +01:00
Adam Turner
1c204e63a9
Increment the environment version to resolve C domain issues on incremental rebuilds ( #12583 )
2024-07-15 12:00:18 +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
Adam Turner
82edc3d385
Rewrite `usage/configuration.rst
` ( #12537 )
...
- Remove now-removed configuration values
- Use obvious 'unset' defaults for ``project`` and ``author``
- Prefer 'e.g.' to 'ex.'
- Allow non-list sequence types in various configuration values
- Add types and defaults to every confval directive
2024-07-10 21:43:14 +01:00
James Addison
84c11b2f66
Improve JavaScript test fixture generation ( #12531 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-07-10 19:00:34 +01:00
James Addison
568e26c797
[tests] JavaScript: refactor test fixtures ( #12102 )
...
This PR allows to serve JavaScript test fixtures using a fixture-based logic as for Python tests.
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-06-13 13:07:46 +02:00
Adam Turner
2dcc8f9fa9
Update pattern in `utils/bump_docker.py
`
2024-04-25 21:13:33 +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
Dimitri Papadopoulos Orfanos
5bec029bfd
Import `Sequence
from
collections.abc
` ( #12252 )
2024-04-11 19:03:04 +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
Adam Turner
38ac67bd6c
Use long `re
` flags
2024-01-19 02:28:06 +00: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
767e39df8c
Enable some flake8-annotations (ANN) lint rules
2024-01-13 20:48:09 +00:00
Adam Turner
b7d348418d
Mark `utils/bump_docker.py
` as executable
2023-09-21 09:14:38 +01:00
Adam Turner
655bd15749
Adorn top-level files with a '.rst' suffix
2023-09-14 11:08:17 +01:00
Adam Turner
d80eab689d
Fix EM10{1,2} (exception must not use a string)
2023-08-13 22:11:15 +01:00
Adam Turner
79d196358f
Use `time.strftime()
` to calculate today's date
2023-08-13 22:11:15 +01:00
Adam Turner
e010e24728
Fix B904 (raise exceptions with `raise ... from ...
`)
2023-08-13 22:11:15 +01:00
Adam Turner
064b627953
Convert bump_docker.sh to Python
2023-08-13 16:55:50 +01:00
Adam Turner
5c31195e91
Include the translated string in babel error messages
2023-07-24 13:33:12 +01:00
Adam Turner
1437d2a746
Reduce heading underline length for "Testing"
2023-07-24 13:00:29 +01:00
Adam Turner
f5aadc1c3f
Remove "Release signatures" section of the README
...
PyPI has stopped supporting signed releases.
https://blog.pypi.org/posts/2023-05-23-removing-pgp/
2023-07-23 23:17:46 +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
Adam Turner
4032070e81
Run pyupgrade ( #11070 )
2023-01-02 00:01:14 +00:00
Adam Turner
920828fe35
Run the `pyupgrade
` tool
2022-10-17 22:39:09 +01:00
Adam Turner
0200a75fe1
Simplify development policy ( #10921 )
2022-10-16 16:51:22 +01:00
Adam Turner
0273e68974
Update release-checklist tagging guidance
2022-09-24 21:59:18 +01:00
Adam Turner
b347657809
Use declarative metadata
...
- Move to pyproject.toml metadata
- Update references to `setup.py`
- Use pypa/build
- Update workflows and tooling
2022-09-13 10:31:27 +01:00
danieleades
12bff8a273
Remove unneeded noqa
lint suppression comments ( #10772 )
2022-08-28 20:03:17 +01:00
Julien Palard
956cddb7d4
Replace doclinter with sphinx-lint ( #10389 )
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-06-16 19:32:09 +01:00
Adam Turner
55669f6cfc
Specify encoding
2022-04-22 04:21:12 +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
Adam Turner
61d7b0b47c
Replace jssplitter
with JavaScript
2022-03-19 23:16:27 +00:00
Takeshi KOMIYA
2beeaf746f
Merge branch 'master' into fix-searchtools
2022-03-20 01:49:48 +09:00
Adam Turner
ac9c2b5571
Update splitQuery
2022-03-08 01:46:38 +00:00