Commit Graph

18 Commits

Author SHA1 Message Date
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
be52db2bb3
Support placeholders for years in copyright (#12910) 2024-10-04 13:52:29 +01:00
James Addison
a84f7009ac
Restrict substitution of `copyright` years (#12516)
Only substitute copyright notice years with values from
``SOURCE_DATE_EPOCH`` for entries that match the current
system clock year, and disallow substitution of future years.

Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-10-04 10:48:47 +01:00
Adam Turner
5f3846f8c6
Improve testing for copyright year substitution (#12950) 2024-10-03 21:56:50 +01:00
Adam Dangoor
c00388f509
Remove unused monkeypatch fixtures (#12841) 2024-08-31 07:48:08 +01: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
Adam Turner
1f2891530d
Use `app.status and app.warning` in tests (#12663) 2024-07-23 15:35:55 +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
M Bussonnier
6e3a191185
Bump Ruff to 0.5.1 (#12530) 2024-07-10 14:13:10 +01:00
Bénédikt Tran
581bcdd140
[config] correctly synchronize `root_doc and master_doc` (#12417) 2024-06-17 18:04:33 +02:00
Adam Turner
141f3ecdf3 Elaborate a little more in the warning message for `config.cache` 2024-04-17 21:24:11 +01:00
Adam Turner
7bf847d2b9 Fix the valid types check for `Any in sphinx.config` 2024-04-17 02:27:21 +01:00
Bénédikt Tran
f26d492d6d
[config] protect `is_serializable` against circular references (#12196) 2024-03-25 11:19:02 +01:00
James Addison
8aa5edd585
[config] copyright correction logic: handle year-to-year ranges without trailing authorship info (#11914) 2024-02-24 16:21:29 +01:00
Adam Turner
462404cb25 Organise tests into directories 2024-01-17 03:56:35 +00:00