Commit Graph

28 Commits

Author SHA1 Message Date
Alex Waygood 8a2baedc4b
Bump Ruff to 0.6.7 (#124384) 2024-09-23 22:19:35 +00:00
Hugo van Kemenade eb169f4027
Update Sphinx Lint and fix unnecessary parentheses in `:func:`s (#123960) 2024-09-11 21:05:15 +03:00
Adam Turner 40855f3ab8
GH-121970: Use Ruff to check and format the docs tools (#122018)
Co-authored-by: Alex Waygood <Alex.Waygood@gmail.com>
2024-07-19 11:48:53 +00:00
Savannah Ostrowski cb57a52a85
GH-118487: Add Black to `.pre-commit-config.yaml` for JIT files (GH-118537) 2024-05-03 10:49:51 -07:00
Hugo van Kemenade 743f2c68f4
pre-commit: add `check-case-conflict` and `check-merge-conflict` (#117259) 2024-03-26 16:09:09 +02:00
Alex Waygood 920b89f627
Bump ruff to 0.2.0 (#114932) 2024-02-02 21:04:15 +00:00
Hugo van Kemenade 794983cd61
gh-101100: Fix Sphinx Lint warnings in `Misc/` (#113946)
Fix Sphinx Lint warnings in Misc/
2024-01-13 00:25:04 +02:00
Hugo van Kemenade eafc2381a0
Update pre-commit to fix Sphinx Lint (#113015) 2023-12-12 16:29:08 +00:00
Artyom Romanov 0d1cbff833
Bump test deps: `ruff` and `mypy` (#111288) 2023-10-25 01:05:37 -07:00
Nikita Sobolev b75b1f389f
Bump test deps: `ruff` and `pre-commit-hooks` (#110972) 2023-10-17 10:32:29 +00:00
Alex Waygood 78e4a6de48
Bump sphinx-lint to v0.8.1 (#110933) 2023-10-16 23:26:06 -06:00
Alex Waygood 0ed2329a16
Bump sphinx-lint to 0.7.0 (#110830) 2023-10-13 13:58:26 +00:00
Hugo van Kemenade de956b263b
gh-109408: Revert pre-commit whitespace checks pending portable solution (#110726) 2023-10-11 16:12:28 +00:00
Adam Turner f5edb56328
GH-109408: Move the C file whitespace check from patchcheck to pre-commit (#109890)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-10 07:40:08 -06:00
Adam Turner e24f9ae703
Don't doubly-parallelise sphinx-lint (#110617) 2023-10-10 14:51:20 +02:00
Alex Waygood fc811c8d20
gh-110558: Enable ruff's pyupgrade rules when running on Argument Clinic (#110603) 2023-10-10 09:35:36 +00:00
Adam Turner 08ec4a1dbf
GH-109408: Move the Python file whitespace check from patchcheck to pre-commit (#109891)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-10-10 09:17:53 +00:00
Alex Waygood d5ec77fafd
Add some 'meta hooks' to our pre-commit config (#110587) 2023-10-10 08:21:58 +00:00
Hugo van Kemenade 7426ed0347
gh-109408: Add the docs whitespace check from patchcheck to pre-commit (#109854)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-10-10 08:11:51 +00:00
Alex Waygood 7b2764e798
gh-110558: Run ruff on Argument Clinic in CI (#110559) 2023-10-10 07:52:39 +00:00
Alex Waygood 014aacda62
Enable ruff on `Lib/test/test_typing.py` (#110179) 2023-10-02 14:13:48 -06:00
Hugo van Kemenade 3cb9a8edca
gh-60283: Check for redefined test names in CI (#109161)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-09-12 15:28:20 +00:00
Nikita Sobolev 1110c5bc82
gh-108303: Move tokenize-related data to Lib/test/tokenizedata (GH-109265) 2023-09-12 09:37:42 +03:00
Hugo van Kemenade 71962e5237
Run sphinx-lint on Misc/NEWS.d/next/ (#108212)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-08-21 13:13:55 +00:00
Sven Arends 6acd85d910
gh-106978: Bump sphinx-lint to 0.6.8 (#106990) 2023-07-22 09:38:47 +00:00
Hugo van Kemenade 8c24a83737
Add end-of-file-fixer to pre-commit (#106065) 2023-06-25 04:44:23 -06:00
Hugo van Kemenade bc07c8f096
Docs: move sphinx-lint to pre-commit (#105750) 2023-06-18 11:52:05 +00:00
Hugo van Kemenade d513ddee94
Trim trailing whitespace and test on CI (#104275)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-08 17:03:52 +03:00