Commit Graph

21838 Commits

Author SHA1 Message Date
dependabot[bot]
b409db1df2
Bump mypy to 1.13.0 (#13064) 2024-10-24 17:55:26 +01:00
James Addison
b75e695631
Write 'searchindex.js' using minimal JSON separators (#13062)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-10-24 17:54:41 +01:00
dependabot[bot]
8042eb633a
Bump mypy to 1.12.1 (#13053) 2024-10-21 06:15:16 +01:00
Rafael Fontenelle
a993a52f37
Fix locale_dirs default value in documentation (#13052) 2024-10-21 01:04:37 +01:00
Adam Turner
41c405c1a5 Use f-strings in `CheckExternalLinksBuilder.process_result()` 2024-10-21 00:15:32 +01:00
James Addison
d3dd8e43cb
Use structural pattern matching to handle linkcheck result statuses (#13049)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-10-21 00:11:20 +01:00
Adam Turner
bf77a4087a
Use `_StrPath in sphinx.util.i18n` (#13050) 2024-10-20 22:03:24 +01:00
Adam Turner
cb5318bdc8
Use `_StrPath in sphinx.theming` (#13048) 2024-10-20 20:15:42 +01:00
James Addison
88f560c761
Use a `StrEnum` to record linkcheck status codes (#13043)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-10-20 18:56:22 +01:00
Adam Turner
285908aa07
Use `_StrPath` in HTMLBuilder (#13045) 2024-10-20 01:46:52 +01:00
Adam Turner
08f8e05519 Reduce verbosity in builddoc.yml 2024-10-20 00:30:27 +01:00
Adam Turner
10f6b6bb09 Cache the result of `_file_checksum()` 2024-10-19 21:37:38 +01:00
Adam Turner
3c6ccd38c9 Use `shutil.copy2()` on Windows for better performance 2024-10-19 21:36:49 +01:00
Adam Turner
2ebb995784 Refactor `CDomain.clear_doc()` 2024-10-19 21:35:50 +01:00
Adam Turner
af694d5ae9 Improve the performance of `StandardDomain.clear_doc()` 2024-10-19 21:33:28 +01:00
Adam Turner
95e7092d92 Improve the performance of `PythonDomain.clear_doc()` 2024-10-19 21:33:28 +01:00
Adam Turner
e41617850f Define `_StatusUnknown and _URIProperties{Unknown}` 2024-10-19 20:57:58 +01:00
Adam Turner
3dc73cbdf4 Use pathlib for the Jieba default dict path 2024-10-19 20:49:48 +01:00
Adam Turner
d773a43f59
Codify linkcheck status codes into a `Literal` (#13040) 2024-10-19 20:44:21 +01:00
dependabot[bot]
285ec1c50a
Bump the npm group (#13042) 2024-10-19 20:30:30 +01:00
Kun Jinkao
80642f6524
Use the default Jieba dict for Chinese search if not set (#13005) 2024-10-19 19:43:57 +01:00
Adam Turner
25ad2a031e Add a timeout of 15 minutes to GitHub Actions 2024-10-19 19:21:53 +01:00
Adam Turner
dc852d66ea Fix pyright 2024-10-19 19:21:41 +01:00
Adam Turner
c973de391e Pass format arguments to logger 2024-10-19 19:06:23 +01:00
Adam Turner
e58dd58f35 Enable the PLR6201 lint in Ruff 2024-10-19 19:05:43 +01:00
Adam Turner
903da2046e Enable the PLR1714 lint in Ruff 2024-10-19 19:05:43 +01:00
Adam Turner
9364c0cf6a Enable the PLR1704 lint in Ruff 2024-10-19 19:05:43 +01:00
Adam Turner
4d2d2e4481 Enable the PLR0124 lint in Ruff 2024-10-19 19:05:43 +01:00
Adam Turner
c4cff9cc46 Enable the S301 and S403 lints in Ruff 2024-10-19 19:05:43 +01:00
Adam Turner
4b72423ed3 Enable the S105 lint in Ruff 2024-10-19 19:05:43 +01:00
Adam Turner
65e4b7bff9 Enable the S324 lint in Ruff 2024-10-19 19:05:43 +01:00
Adam Turner
e13403c706 Enable the S113 lint in Ruff 2024-10-19 19:05:42 +01:00
Adam Turner
48fdfc7234 Enable the S702 lint in Ruff 2024-10-19 19:05:42 +01:00
Adam Turner
b64e03a5fb Enable the S701 lint in Ruff 2024-10-19 19:05:42 +01:00
Adam Turner
f2d3a62865 Enable the S607 lint in Ruff 2024-10-19 19:05:42 +01:00
Adam Turner
c5dce468bc Enable the PLW3201 lint in Ruff 2024-10-19 19:05:42 +01:00
Adam Turner
4f9380d65c Enable the PLW1641 lint in Ruff 2024-10-19 19:05:42 +01:00
Adam Turner
43312ef8ac Enable the PLW1514 lint in Ruff 2024-10-19 19:05:42 +01:00
Adam Turner
3920af4700 Enable the PLW0603 lint in Ruff 2024-10-19 19:05:42 +01:00
Adam Turner
e83892ae55 Enable the PLW0211 lint in Ruff 2024-10-19 19:05:42 +01:00
Adam Turner
f9947ff197 Enable the PLW0108 lint in Ruff 2024-10-19 19:05:42 +01:00
Adam Turner
e9274771b3 Enable the PLC1901 lint in Ruff 2024-10-19 19:05:42 +01:00
Adam Turner
9e1c27aca0 Enable the PLC0206 lint in Ruff 2024-10-19 01:16:07 +01:00
Adam Turner
c78b4c5404 Enable the PLE0704 lint in Ruff 2024-10-19 01:15:09 +01:00
Adam Turner
10a76d180a Remove outdated comment 2024-10-19 01:07:20 +01:00
Adam Turner
998f325c44 Merge if-branches in generic alias 2024-10-19 01:00:21 +01:00
Adam Turner
90b1df02dc Combine Union and Optional (GenericAlias) handling 2024-10-19 01:00:06 +01:00
Adam Turner
88e02552f9 Enable the entire S category in Ruff 2024-10-19 00:56:47 +01:00
Adam Turner
f26f3ffd93 Enable the entire PL category in Ruff 2024-10-19 00:56:01 +01:00
Adam Turner
74e7eb21e4 Enable the entire PLW category in Ruff 2024-10-19 00:54:36 +01:00