summaryrefslogtreecommitdiffstats
path: root/.pre-commit-config.yaml
Commit message (Collapse)AuthorAgeFilesLines
* [3.12] pre-commit: add `check-case-conflict` and `check-merge-conflict` ↵Miss Islington (bot)2024-03-261-1/+3
| | | | | | (GH-117259) (#117260) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* [3.12] Bump ruff to 0.2.0 (GH-114932) (#114935)Miss Islington (bot)2024-02-021-1/+1
| | | | | | Bump ruff to 0.2.0 (GH-114932) (cherry picked from commit 920b89f62751e64a35fa1bebc03701af6d6f31f2) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.12] gh-101100: Fix Sphinx Lint warnings in `Misc/` (GH-113946) (#113998)Hugo van Kemenade2024-01-121-1/+1
| | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* [3.12] Update pre-commit to fix Sphinx Lint (GH-113015) (#113017)Miss Islington (bot)2023-12-121-2/+2
| | | | | | Update pre-commit to fix Sphinx Lint (GH-113015) (cherry picked from commit eafc2381a0b891383098b08300ae766868a19ba6) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] Bump test deps: `ruff` and `mypy` (GH-111288) (#111313)Artyom Romanov2023-10-251-1/+1
| | | Bump test deps: `ruff` and `mypy`
* [3.12] Bump test deps: `ruff` and `pre-commit-hooks` (GH-110972) (#110980)Nikita Sobolev2023-10-171-2/+2
| | | (cherry picked from commit b75b1f389f083db8568bff573c33ab4ecf29655a)
* [3.12] Bump sphinx-lint to v0.8.1 (GH-110933) (#110957)Miss Islington (bot)2023-10-171-3/+2
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.12] Bump sphinx-lint to 0.7.0 (GH-110830) (#110833)Miss Islington (bot)2023-10-131-3/+2
| | | | | | Bump sphinx-lint to 0.7.0 (GH-110830) (cherry picked from commit 0ed2329a1627fc8ae97b009114cd960c25567f75) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.12] gh-109408: Revert pre-commit whitespace checks pending portable ↵Miss Islington (bot)2023-10-111-24/+0
| | | | | | | | solution (GH-110726) (#110730) gh-109408: Revert pre-commit whitespace checks pending portable solution (GH-110726) (cherry picked from commit de956b263b98bb9928ce4377c42ca8271c4f2682) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] GH-109408: Move the C file whitespace check from patchcheck to ↵Adam Turner2023-10-101-0/+15
| | | | | pre-commit (GH-109890) (#110636) (cherry picked from commit f5edb56328b46f262b74a53343b8098a3934f761)
* [3.12] GH-109408: Move the Python file whitespace check from patchcheck to ↵Miss Islington (bot)2023-10-101-0/+9
| | | | | | | | | pre-commit (GH-109891) (#110633) GH-109408: Move the Python file whitespace check from patchcheck to pre-commit (GH-109891) (cherry picked from commit 08ec4a1dbf66383303de9ce5cb55b2b437ef92c0) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] Don't doubly-parallelise sphinx-lint (GH-110617) (#110626)Miss Islington (bot)2023-10-101-0/+1
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.12] gh-110558: Enable ruff's pyupgrade rules when running on Argument ↵Miss Islington (bot)2023-10-101-1/+1
| | | | | | | | Clinic (GH-110603) (#110609) gh-110558: Enable ruff's pyupgrade rules when running on Argument Clinic (GH-110603) (cherry picked from commit fc811c8d205db9c19f42890e2c4193a0c2f87965) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.12] gh-110558: Run ruff on Argument Clinic in CI (#110559) (#110598)Alex Waygood2023-10-101-0/+4
|
* [3.12] gh-109408: Add the docs whitespace check from patchcheck to ↵Miss Islington (bot)2023-10-101-1/+1
| | | | | | | | | | pre-commit (GH-109854) (#110594) gh-109408: Add the docs whitespace check from patchcheck to pre-commit (GH-109854) (cherry picked from commit 7426ed0347d66f7ef61ea7ae6c3163258b8fb128) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.12] Add some 'meta hooks' to our pre-commit config (GH-110587) (#110599)Miss Islington (bot)2023-10-101-0/+5
| | | | | | Add some 'meta hooks' to our pre-commit config (GH-110587) (cherry picked from commit d5ec77fafd352b4eb290b86d70e4d0b4673459eb) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.12] Enable ruff on `Lib/test/test_typing.py` (#110179) (#110288)Alex Waygood2023-10-031-1/+1
| | | Enable ruff on `Lib/test/test_typing.py` (#110179)
* [3.12] gh-108303: Move tokenize-related data to Lib/test/tokenizedata ↵Victor Stinner2023-10-021-1/+1
| | | | | | | | | | | | | | | (GH-109265) (#109677) * gh-108303: Move tokenize-related data to Lib/test/tokenizedata (GH-109265) (cherry picked from commit 1110c5bc828218086f6397ec05a9312fb73ea30a) * gh-108303: Add `Lib/test/tokenizedata` to `TESTSUBDIRS` (#109314) (cherry picked from commit 42ab2cbd7b5e76e919b70883ae683e789dbd913d) --------- Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.12] gh-60283: Check for redefined test names in CI (GH-109161) (#109365)Miss Islington (bot)2023-09-141-0/+10
| | | | | | | | | | | | | | | | | | | | * gh-60283: Check for redefined test names in CI (GH-109161) (cherry picked from commit 3cb9a8edca6e3fa0f0045b03a9a6444cf8f7affe) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> * Update exclude list for 3.12 * Explicitly exclude files which failed to lint/parse * Sort to avoid future merge conflicts --------- Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.12] Run sphinx-lint on Misc/NEWS.d/next/ (GH-108212) (#108213)Hugo van Kemenade2023-08-211-1/+1
| | | Run sphinx-lint on Misc/NEWS.d/next/
* [3.12] Bump sphinx-lint to 0.6.8 (gh-106978) (#107023)Sven Arends2023-07-221-1/+1
|
* [3.12] Add end-of-file-fixer to pre-commit (GH-106065) (#106080)Miss Islington (bot)2023-06-251-0/+3
| | | | | | Add end-of-file-fixer to pre-commit (GH-106065) (cherry picked from commit 8c24a837371439b8e922ff47275085b581f510c5) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* [3.12] Docs: move sphinx-lint to pre-commit (GH-105750) (#105894)Miss Islington (bot)2023-06-181-0/+8
| | | | | | Docs: move sphinx-lint to pre-commit (GH-105750) (cherry picked from commit bc07c8f096791d678ca5c1e3486cb9648f7a027b) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* Trim trailing whitespace and test on CI (#104275)Hugo van Kemenade2023-05-081-0/+7
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>