Commit Graph

169 Commits

Author SHA1 Message Date
Sebastian Rittau 576a71a75e Officially remove Python 3.9 support (#15360) 2026-02-09 12:16:15 +01:00
Semyon Moroz 0664473614 Fix grammar typos (#15324) 2026-01-25 15:23:18 +00:00
Semyon Moroz d2154f5ad8 Style and formatting docs fixes (#15299)
* Add PEP links for more context
* Normalize the virtualenv name from `.venv3` to `.venv` (the [documentation suggests](https://github.com/python/typeshed/blob/main/CONTRIBUTING.md#-or-create-a-local-development-environment) creating a `.venv` name, not `.venv3`so `venv3` is not used anywhere else)
2026-01-18 09:49:20 +01:00
jceresini e4f8258330 Minor fix for documentation link (#15221) 2026-01-05 19:43:57 -08:00
wyattscarpenter 9a970cfc16 correct grammatical error in CONTRIBUTING.md to "in their own right" (#14883)
The pronoun and its noun did not agree in grammatical number. Furthermore, the previous author seems to have started writing the idiomatic phrase "in its own right", and then gotten confused and completed it by writing the end of the idiomatic phrase "on its own merits". The former better expresses the concept under discussion here (which could also be paraphrased as "themselves", "in-and-of-themselves", or "also", although less precisely), so I've gone with it.
2025-10-15 16:39:18 +01:00
Semyon Moroz c6b6bb7a0b Update third-party library removal policy (#14636) 2025-10-08 13:51:14 +02:00
Sebastian Rittau 3f08a4ed10 Split tool.stubtest.platforms metadata key (#13746)
Co-authored-by: Avasam <samuel.06@hotmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-07-31 12:07:20 -04:00
Sebastian Rittau aebefb1754 Remove support for pytype (#14463) 2025-07-27 11:47:37 +02:00
Semyon Moroz c1299e3a35 Reminder to remove library from pyrightconfig (#14377) 2025-07-11 13:43:03 +02:00
MegaIng f6bb513eed Update windows install instructions for windows (#14293)
Use the `py` launcher and don't use the `pip` script for upgrading pip itself
2025-07-08 13:41:17 +02:00
Brian Schubert ecd5141cc0 Fix label links in CONTRIBUTING.md (#14272) 2025-06-12 17:32:24 -07:00
Sebastian Rittau 0125fe2848 Replace Incomplete | None = None in stdlib (#14083) 2025-05-16 15:43:52 +02:00
Huy Nguyen a8fa1ab0d9 Add mypy plugin support to stubtest configuration (#13948) 2025-05-11 14:45:30 +02:00
Sebastian Rittau 12ef43c8d0 Rename "Preparing Changes" to "Making Changes" (#13901)
And integrate the "Code Style" chapter there. This makes the actual
chapter structure follow the overview structure.
2025-04-29 01:04:45 +02:00
Sebastian Rittau 10913cff2c Move maintainer guidelines to MAINTAINERS document
The guidelines are unchanged, apart from linking back to the
CONTRIBUTING document and introducting section headers.

This serves multiple purposes:

* The maintainer guidelines are easier to find for maintainers.
* The CONTRIBUTING document needs fewer changes, meaning fewer
  "guideline changed" warnings for contributors.
* The – already very long – CONTRIBUTING document is shorter,
  and doesn't contain information irrelevant for regular contributors.
2025-03-21 16:26:46 +01:00
Avasam 0cdb5e969f Mention uv for the initial install in CONTRIBUTING.md (#13595) 2025-03-08 10:59:07 +01:00
Avasam cc206f760d Drop flake8-noqa and remove workarounds to work with Ruff (#13571) 2025-03-03 15:48:59 +01:00
Danny Yang c230773d2c [ez] Update link to style guide (#13530)
Update link to style guide

The style guide was merged with https://typing.readthedocs.io/en/latest/guides/writing_stubs.html#style-guide in https://github.com/python/typeshed/pull/13332 so the anchor no longer exists.
2025-02-23 07:54:28 -08:00
Danny Yang 9f90182ba2 Remove stub content/style section from CONTRIBUTING.md (#13332) 2025-01-19 14:50:15 +01:00
Sebastian Rittau a6fb689ff1 Update third-party removal policy (#12858) 2024-10-21 13:10:27 +02:00
Sebastian Rittau 055d0431ad Document the supported stdlib versions (#12731) 2024-10-11 13:48:54 +02:00
Sebastian Rittau 91a58b07cd Amend third-party removal policy (#12710)
Upstream annotations should have a similar standard as typeshed's.
2024-09-30 22:04:29 +02:00
Sebastian Rittau 7ce17a95f6 Document to stubtest_requirements field in the proper place. (#12707) 2024-09-30 13:46:48 +02:00
Avasam d34ef50754 Optional pytype install on Windows (no CI) (#12669) 2024-09-17 10:58:31 +02:00
Sebastian Rittau 7c1378cc25 Document policy for future Python versions (#12592)
Closes: #12569
2024-08-25 18:24:08 +02:00
Avasam ad56f205ac Update outdated labels and stub_uploader timing in CONTRIBUTING.md (#12540) 2024-08-17 21:17:32 +02:00
Sebastian Rittau 9eae1ae1a5 Require documenting Any uses (#12430) 2024-07-25 17:38:12 +02:00
Sebastian Rittau 7ed91bc2e7 Add _typeshed.MaybeNone as Any trick marker (#11815)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2024-04-23 17:13:25 -04:00
Sebastian Rittau f4b89f5f86 Rename check_consistent.py to check_typeshed_structure.py (#11761) 2024-04-14 13:34:10 -07:00
Ali Hamdan 82d84c758c Improvements to the contributing guide (#11615) 2024-03-15 22:35:07 +00:00
Jelle Zijlstra 1a275547b4 CONTRIBUTING.md: Add PR closing policy (#11596)
Closes #11583

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
Co-authored-by: Avasam <samuel.06@hotmail.com>
2024-03-14 22:06:26 -07:00
Alex Waygood 35b74bc431 Rework our linting setup (#11522)
Co-authored-by: Avasam <samuel.06@hotmail.com>
2024-03-03 23:11:54 +00:00
Avasam 5cb2fe97a6 Replace flake8-bugbear with Ruff (#11500)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-02-29 18:20:31 +00:00
Sebastian Rittau 65c154f5ff Document ignore_missing_stub in CONTRIBUTING.md (#11426)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-02-17 12:48:28 +00:00
Viicos 3195d86538 Update CONTRIBUTING.md to add full support for @deprecated (#11301) 2024-01-23 12:50:28 -08:00
Sebastian Rittau 87a695ab98 Update typing_extensions list in CONTRIBUTING (#11242) 2024-01-05 13:22:32 +01:00
Sebastian Rittau 4e5f7a7142 Drop support for Python 3.7 (#11234) 2024-01-04 14:48:44 +01:00
Avasam 9d8188c96d Document "the Any trick" (#11117) 2023-12-18 13:56:22 +01:00
Alex Waygood 01432805d9 Fix typos in docs and comments (#11064) 2023-11-23 14:55:58 +00:00
Jelle Zijlstra 5fd2e9bf61 CONTRIBUTING: Add @deprecated, other updates (#11005)
Fixes #11004.

I started out just documenting conventions with `@deprecated`, but
found some other things in need of updates.

- PEP 585 and 612 are now fully supported
- Add several other PEPs that we fully support
- Use updated links to PEPs
- Split off a few sections from the long "Conventions" section
- PEP 688 was accepted
2023-11-18 12:55:18 -08:00
Avasam 49ba409da8 Replace isort with Ruff (#10912) 2023-10-27 20:14:38 -07:00
Avasam 35873ec3d8 Doc: Use proper name capitalization of tooling (Ruff, Black, Flake8) (#10913) 2023-10-18 23:46:53 +01:00
Mikhail Samylov d30bdc601d CONTRIBUTING.md: Avoid user mistake in the script; small fixes (#10765) 2023-09-25 12:44:06 +02:00
Sebastian Rittau 114949b5ad Note that Python 3.7 support is limited (#10601) 2023-08-21 13:39:45 +01:00
Alex Waygood 2887f60196 Use ruff, not pycln, for removing unused imports (#10498) 2023-07-22 12:14:27 +01:00
Sebastian Rittau afe18e95a9 Add an upstream_repository field to METADATA.toml (#10487)
Closes: #10478
2023-07-20 16:45:41 +02:00
Alex Waygood 79e092e133 Add some ruff autofixes to CI (#10458) 2023-07-20 14:41:52 +02:00
Avasam db0149859c Add partial_stub metadata field (#10157) 2023-05-10 17:04:18 +02:00
Ali Hamdan 3add7f0d76 Reference the stub_uploader issue discussing externals deps in the contributing guide (#10156)
Closes #10150
2023-05-10 08:32:00 +02:00
Sebastian Rittau 565a1a07ad Remove note about Optional still being necessary sometimes (#9687) 2023-02-07 03:03:22 -08:00