Commit Graph
24 Commits
Author SHA1 Message Date
Adam Turner ce19a75e3c Ignore fewer Ty rules (#14184) 2025-12-15 21:31:10 +00:00
c043841398 Shrink mypy whitelist for `tests.test_transforms.test_transforms_post_transforms` (#14141)
Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-12-02 12:10:20 +00:00
Adam DangoorandAdam Turner 95b9b3e0b2 Remove mypy overrides for `tests/test_transforms/test_transforms_post_transforms_images.py` (#14070)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-11-24 22:38:28 +00:00
Adam Dangoor 3f63a1420d Remove mypy overrides for `tests/test_transforms/test_transforms_reorder_nodes.py` (#13694) 2025-06-24 11:04:27 +01:00
Adam Turner 21c8513e49 Avoid `self.app` in transforms (#13628) 2025-06-07 16:12:47 +01:00
Adam DangoorandAdam Turner ee0e576aef Remove mypy overrides for `test_transforms_move_module_targets` (#13553)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-05-21 00:32:00 +01:00
Adam Turner f1fbbfcbb7 Add annotations to several single-argument ('app') test functions 2025-02-16 01:40:30 +00:00
Adam Turner 139d6b0936 Use full URLs for links to issues and pull requests 2025-02-15 21:47:31 +00:00
Adam Turner c069960e8a Use blank testroot for `restructuredtext.parse()` 2025-02-11 01:11:19 +00:00
Adam Turner 7406d4222f Move mypy test module exclusions to per-module ignores (#13265) 2025-01-26 19:41:15 +00:00
Adam Turner a56fdad70b Use `sphinx._cli.util.colour in sphinx.util.console` (#13241) 2025-01-16 16:57:28 +00:00
Maciej Olko ad0c343d36 Trim leading whitespace before doctest flags (#13164) 2025-01-04 00:30:03 +00:00
Adam Turner 3af48520d2 Require the PEP 563 'annotations' future import 2024-11-22 21:54:26 +00:00
Adam Turner 1094556afb Bump Ruff to 0.7.2 2024-11-03 02:55:19 +00:00
Adam Turner 0b17bb1029 Always define the builder and `testroot when using the app` fixtureture (#12775) 2024-08-12 22:34:03 +01:00
Adam Turner d03156e078 Format `tests/` (#12760) 2024-08-11 14:58:56 +01:00
Chris Sewell 05cc39d9b2 [rst] Improve unreferenced footnote warnings (#12730)
The previous `UnreferencedFootnotesDetector` transform was untested and missed warnings for a number of cases.

This commit adds a test, to cover a reasonable range of scenarios,
then changes how the detection works to pass this test.

The transform now runs just after the docutils `Footnote` resolution transform
(changing its priority from 200 to 622)
then simply check for any footnotes without "back-references".
2024-08-05 10:28:13 +02:00
danieleadesandAdam Turner f09bc62969 Shrink mypy exclude list (#12669)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-07-23 22:19:15 +01:00
Adam Turner 1f2891530d Use `app.status and app.warning` in tests (#12663) 2024-07-23 15:35:55 +01:00
Adam Turner 9e3f4521db Drop support for Python 3.9 (#12633) 2024-07-22 15:05:15 +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
M Bussonnier 6e3a191185 Bump Ruff to 0.5.1 (#12530) 2024-07-10 14:13:10 +01:00
Benjamin CabéandAdam Turner a66546895e Properly support WebP in the image converter (#12224)
Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-04-25 03:43:45 +01:00
Adam Turner 462404cb25 Organise tests into directories 2024-01-17 03:56:35 +00:00