Commit Graph
205 Commits
Author SHA1 Message Date
Adam Turner ad0497b89d Drop support for Python 3.11 (#14153) 2025-12-05 22:12:06 +00:00
Adam Turner 42cf2c3b81 autodoc: Use a shared logger (#14124) 2025-11-30 01:15:49 +00:00
ad3f3cc062 Add initial support for PEP 695 type aliases (#13508)
Signed-off-by: Martin Matous <m@matous.dev>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Co-authored-by: Jeremy Maitin-Shepard <jbms@google.com>
2025-10-10 01:41:42 +01:00
Adam Turner b064ef3879 Enable the entire DOC category in Ruff 2025-01-14 16:04:18 +00:00
Adam Turner c4daa95c09 Enable the entire D category in Ruff 2025-01-14 15:55:02 +00:00
Adam Turner dbf62cd503 Enable the entire RET category in Ruff 2025-01-14 14:56:30 +00:00
Adam Turner c66d3e85d1 Enable 11 more categories in Ruff
* flake8-builtins ('A')
* flake8-blind-except ('BLE')
* flake8-copyright ('CPY')
* eradicate ('ERA')
* flake8-boolean-trap ('FBT')
* flake8-fixme ('FIX')
* flake8-implicit-str-concat ('ISC')
* pep8-naming ('N')
* flake8-use-pathlib ('PTH')
* flake8-self ('SLF')
* tryceratops ('TRY')
2025-01-14 14:43:02 +00:00
Adam Turner 3521cb60cf Enable the entire TD category in Ruff 2025-01-14 12:52:43 +00:00
Adam Turner b52ac5c71b Review, reduce, and sort per-file ignores in Ruff 2025-01-13 23:59:11 +00:00
Adam Turner fd8ce84582 Enable the RUF001 lint in Ruff 2025-01-13 23:40:26 +00:00
Adam Turner 477401c4e4 Enable the G003 lint in Ruff 2025-01-13 23:21:30 +00:00
Adam Turner 66905d24e1 Use strict flake8-type-checking settings in Ruff 2025-01-13 21:56:36 +00:00
Adam Turner 72ce43619c Remove unneeded runtime typing imports (#13233) 2025-01-12 01:04:14 +00:00
Adam Turner dec45eaf28 Bump Ruff to 0.9.0 2025-01-10 13:50:26 +00:00
Adam Turner 00ad109a39 Run Ruff on `tests/roots/` 2025-01-03 01:33:14 +00:00
Adam Turner b176c66f8c Enable the FURB113 lint in Ruff 2025-01-03 01:13:05 +00:00
Adam Turner ff2693242d Run Ruff on `doc/usage/extensions/` 2025-01-02 23:59:48 +00:00
Adam Turner 013dcdc3b8 Run Ruff on `tests/js/roots/` 2025-01-02 23:53:59 +00:00
Adam Turner c123c7b914 Remove all [format.exclude] entries 2025-01-02 23:49:44 +00:00
Adam Turner 43bf986891 Enable the RET503 lint in Ruff 2025-01-02 23:49:44 +00:00
Adam Turner 2aad3a87f4 Enable the entire Q category in Ruff 2025-01-02 23:49:44 +00:00
Adam Turner e459a65775 Enable the entire RUF category in Ruff 2025-01-02 23:49:44 +00:00
Adam Turner 077029b609 Enable new RUF rules 2025-01-02 23:49:44 +00:00
Adam Turner b5f9ac8afc Enable the RUF100 lint in Ruff 2025-01-02 23:49:43 +00:00
Adam Turner 5f6457911d Enable the RUF048 lint in Ruff 2025-01-02 23:49:43 +00:00
Adam Turner 6d3ec7441f Enable the RUF046 lint in Ruff 2025-01-02 23:49:43 +00:00
Adam Turner 05fc47f120 Enable the RUF043 lint in Ruff 2025-01-02 23:49:43 +00:00
Adam Turner bec014cf7e Cease using flake8 (#13204) 2025-01-02 21:01:20 +00:00
Adam Turner 37ab81156f Sort [format] table in .ruff.toml 2025-01-02 17:13:25 +00:00
Adam Turner d7b2893b5b Enable automatic formatting for `sphinx/domains/std/` 2025-01-01 14:09:09 +00:00
Adam Turner e48a88d05f Enable automatic formatting for `sphinx/domains/python/` 2025-01-01 13:17:50 +00:00
Adam Turner 917b74ab43 Enable automatic formatting for `sphinx/domains/rst.py` 2025-01-01 12:51:39 +00:00
Adam Turner f42f3676d5 Enable automatic formatting for `sphinx/domains/math.py` 2025-01-01 11:54:41 +00:00
Adam Turner 4a81818bb3 Enable automatic formatting for `sphinx/domains/javascript.py` 2025-01-01 11:18:21 +00:00
Adam Turner 8519590e01 Enable automatic formatting for `sphinx/domains/index.py` 2024-12-31 01:36:52 +00:00
Adam Turner 4da48f5198 Enable automatic formatting for `sphinx/domains/changeset.py` 2024-12-31 01:33:43 +00:00
Adam Turner 8333f040e1 Enable automatic formatting for `sphinx/domains/citation.py` 2024-12-31 00:56:01 +00:00
Adam Turner 51a38d5f98 Enable automatic formatting for `sphinx/domains/cpp/` 2024-12-30 02:40:27 +00:00
Adam Turner 3e2f89b820 Enable automatic formatting for `sphinx/domains/c/` 2024-12-30 02:09:50 +00:00
Adam Turner 5e5a3bf039 Enable automatic formatting for `sphinx/domains/` 2024-12-29 00:31:55 +00:00
Adam Turner 22562d40ee Enable automatic formatting for `sphinx/ext/viewcode.py` 2024-12-28 19:16:40 +00:00
Adam Turner e66c81b01d Enable automatic formatting for `sphinx/ext/todo.py` 2024-12-27 19:18:46 +00:00
Adam Turner e6ede7250d Enable automatic formatting for `sphinx/ext/linkcode.py` 2024-12-26 19:22:07 +00:00
Adam Turner c5672bf0d1 Enable automatic formatting for `sphinx/ext/inheritance_diagram.py` 2024-12-25 19:33:37 +00:00
Adam Turner 7b9a431f31 Enable automatic formatting for `sphinx/ext/mathjax.py` 2024-12-25 19:21:48 +00:00
Adam Turner da5a67d5a4 Enable automatic formatting for `sphinx/ext/imgmath.py` 2024-12-24 19:57:14 +00:00
Adam Turner f592962b8d Enable automatic formatting for `sphinx/ext/imgconverter.py` 2024-12-23 20:01:28 +00:00
Adam Turner 437a31d199 Enable automatic formatting for `sphinx/ext/ifconfig.py` 2024-12-22 20:02:19 +00:00
Adam Turner ff8bb72aba Enable automatic formatting for `sphinx/ext/graphviz.py` 2024-12-21 20:20:11 +00:00
Adam Turner 13d25d96bf Enable automatic formatting for `sphinx/ext/githubpages.py` 2024-12-20 20:21:01 +00:00