58 Commits

Author SHA1 Message Date
Hugo van Kemenade fc5df4d723 Fix mixed line endings with pre-commit (#148336)
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
2026-04-10 18:33:11 +03:00
Hugo van Kemenade 2c8f26cf5c gh-146292: Add colour to http.server logs (GH-146293)
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
2026-04-08 14:10:05 +02:00
Russell Keith-Magee 36e4ffc173 gh-146444: Move the Apple folder to the Platforms directory (#146497)
Migrate the Apple/iOS XCframework build tools to the Platforms directory.
2026-03-27 02:50:35 +00:00
Xianpeng Shen 11840ca99a gh-140681: Freeze pre-commit hooks and update zizmor links (#140682)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-03-05 14:23:06 +02:00
Brett Cannon b63dc8abdf Refactor Platforms/WASI/__main__.py for lazy importing and future new subcommands (#145404)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2026-03-04 13:27:23 -08:00
Savannah Ostrowski e682141c49 Bump pre-commit hooks (#144576) 2026-02-07 23:14:18 +00:00
Hugo van Kemenade f783cc37eb Update pre-commit with zizmor and Ruff fixes (#143095) 2025-12-23 17:51:02 +02:00
Stan Ulbrych f9704f1d84 gh-84232: Fix pydoc docs.python.org link generation (#139995)
Co-authored-by: Éric <merwok@netwok.org>
2025-12-23 10:29:58 +02:00
Russell Keith-Magee 17636ba48c gh-141691: Apply ruff rules to Apple folder. (#141694)
Add ruff configuration to run over the Apple build tooling and testbed script.
2025-11-18 22:39:21 +00:00
sobolevn 678e0b818c gh-139590: Stricter ruff rules for Tools/wasm (#139752) 2025-10-09 01:13:27 +03:00
Savannah Ostrowski a15aeec29e GH-139590: Run ruff format on pre-commit for Tools/wasm (#139591)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-10-08 02:25:06 +00:00
Hugo van Kemenade 800d856bc7 gh-92266: Update pre-commit (#139411) 2025-10-01 08:40:54 +03:00
sobolevn 0d1f4e1639 gh-138281: Run ruff on Tools/peg_generator (#138282)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-09-03 17:45:29 +00:00
Stan Ulbrych 78acd8e95e gh-138286: Run `ruff on Tools/i18n` (#138287)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
2025-08-31 20:29:02 +00:00
Malcolm Smith b36d23f58e Update pre-commit hooks (#137591)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-08-10 22:32:50 +00:00
Hugo van Kemenade de0d014815 gh-92266: Replace tabs with four spaces in Python files (#135983) 2025-06-27 16:23:33 +03:00
Hugo van Kemenade b8a885ce63 Add CODEOWNERS and YAML to end-of-file-fixer and trailing-whitespace (#134730)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-05-26 18:42:38 +01:00
Rafael Fontenelle 6df39765e6 Remove trailing whitespace from python.gram (#133858)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-05-14 10:52:19 +03:00
Adam Turner 49ea8a0b2d Lint: Use Ruff to format `Tools/build/check_warnings.py` (#133317) 2025-05-02 21:26:32 +01:00
sobolevn 87b1ea016b Update pre-commit repos (#132792) 2025-04-22 18:32:19 +03:00
Bénédikt Tran 5d8e432d9f gh-132390: Apply Ruff linting to Tools/build (#132391)
---------

Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-04-20 11:21:41 +02:00
Bénédikt Tran 1d5dc5f1c3 gh-132396: Resolve 'redefinition of unused name' errors in `Lib/test/` (#132397)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-04-18 18:14:54 +01:00
Diego Russo 6c914bf85c Move to public Linux arm64 hosted runners (#128964)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-01-20 18:51:09 +02:00
Peter Bierma 3de7cc15c2 Pre-commit: Drop specific language version and bump hooks (#128801) 2025-01-18 19:53:17 +02:00
sobolevn 03ede5afe2 Add check-readthedocs pre-commit hook (#128453) 2025-01-04 13:31:01 +03:00
Hugo van Kemenade ae31df354d Add zizmor to pre-commit and fix most findings (#127749)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-12-10 12:51:12 +02:00
Łukasz Langa 8214e0f709 Enable aarch64 Ubuntu CI jobs (#125786)
This change enables custom GHA runners for Ubuntu-24.04 that run on Arm hardware. It also prepares for Windows runners on Arm hardware, but doesn't enable that just yet, because the Arm GHA runner images for Windows need to be updated.
2024-11-22 18:29:18 +01:00
Hugo van Kemenade dcda92f8fc Pre-commit: prevent spaces in news entry paths (#126063) 2024-10-28 23:04:10 +02:00
Hugo van Kemenade e1190c0543 Lint GitHub Actions and Dependabot (#126002) 2024-10-28 18:59:35 +00:00
Hugo van Kemenade e256a7590a Lint and format Tools/build/check-warnings.py (#124382) 2024-09-24 02:47:05 +03:00
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