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
Adam Turner
51c6642ec2
Remove redundant sphinx/utils/checks.py
2022-02-20 03:31:33 +00:00
Adam Turner
5775912455
Collapse single line docstrings
2022-02-20 03:13:45 +00:00
Adam Turner
6bb7b891a1
Remove copyright and licence fields
2022-02-20 03:06:23 +00:00
Adam Turner
5694e0ce60
Fix module docstring indentation
2022-02-20 00:35:13 +00:00
Adam Turner
4f5a3269a6
Fix module docstring first line
2022-02-20 00:11:08 +00:00
Adam Turner
6b8bccec59
Remove module titles in docstrings
2022-02-19 23:17:29 +00:00
Daniel Eades
6697ed62ed
address some unused loop control variables (B007)
2022-01-12 20:19:18 +00:00
Eisuke Kawashima
652ebf1bf5
Fix typo
2021-07-08 08:16:22 +09:00