Commit Graph
155 Commits
Author SHA1 Message Date
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
AvasamandGitHub 0cdb5e969f Mention uv for the initial install in CONTRIBUTING.md (#13595) 2025-03-08 10:59:07 +01:00
AvasamandGitHub cc206f760d Drop flake8-noqa and remove workarounds to work with Ruff (#13571) 2025-03-03 15:48:59 +01:00
Danny YangandGitHub 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 YangandGitHub 9f90182ba2 Remove stub content/style section from CONTRIBUTING.md (#13332) 2025-01-19 14:50:15 +01:00
Sebastian RittauandGitHub a6fb689ff1 Update third-party removal policy (#12858) 2024-10-21 13:10:27 +02:00
Sebastian RittauandGitHub 055d0431ad Document the supported stdlib versions (#12731) 2024-10-11 13:48:54 +02:00
Sebastian RittauandGitHub 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 RittauandGitHub 7ce17a95f6 Document to stubtest_requirements field in the proper place. (#12707) 2024-09-30 13:46:48 +02:00
AvasamandGitHub d34ef50754 Optional pytype install on Windows (no CI) (#12669) 2024-09-17 10:58:31 +02:00
Sebastian RittauandGitHub 7c1378cc25 Document policy for future Python versions (#12592)
Closes: #12569
2024-08-25 18:24:08 +02:00
AvasamandGitHub ad56f205ac Update outdated labels and stub_uploader timing in CONTRIBUTING.md (#12540) 2024-08-17 21:17:32 +02:00
Sebastian RittauandGitHub 9eae1ae1a5 Require documenting Any uses (#12430) 2024-07-25 17:38:12 +02:00
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 RittauandGitHub f4b89f5f86 Rename check_consistent.py to check_typeshed_structure.py (#11761) 2024-04-14 13:34:10 -07:00
Ali HamdanandGitHub 82d84c758c Improvements to the contributing guide (#11615) 2024-03-15 22:35:07 +00:00
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
35b74bc431 Rework our linting setup (#11522)
Co-authored-by: Avasam <samuel.06@hotmail.com>
2024-03-03 23:11:54 +00:00
5cb2fe97a6 Replace flake8-bugbear with Ruff (#11500)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-02-29 18:20:31 +00:00
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
ViicosandGitHub 3195d86538 Update CONTRIBUTING.md to add full support for @deprecated (#11301) 2024-01-23 12:50:28 -08:00
Sebastian RittauandGitHub 87a695ab98 Update typing_extensions list in CONTRIBUTING (#11242) 2024-01-05 13:22:32 +01:00
Sebastian RittauandGitHub 4e5f7a7142 Drop support for Python 3.7 (#11234) 2024-01-04 14:48:44 +01:00
AvasamandGitHub 9d8188c96d Document "the Any trick" (#11117) 2023-12-18 13:56:22 +01:00
Alex WaygoodandGitHub 01432805d9 Fix typos in docs and comments (#11064) 2023-11-23 14:55:58 +00:00
Jelle ZijlstraandGitHub 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
AvasamandGitHub 49ba409da8 Replace isort with Ruff (#10912) 2023-10-27 20:14:38 -07:00
AvasamandGitHub 35873ec3d8 Doc: Use proper name capitalization of tooling (Ruff, Black, Flake8) (#10913) 2023-10-18 23:46:53 +01:00
Mikhail SamylovandGitHub d30bdc601d CONTRIBUTING.md: Avoid user mistake in the script; small fixes (#10765) 2023-09-25 12:44:06 +02:00
Sebastian RittauandGitHub 114949b5ad Note that Python 3.7 support is limited (#10601) 2023-08-21 13:39:45 +01:00
Alex WaygoodandGitHub 2887f60196 Use ruff, not pycln, for removing unused imports (#10498) 2023-07-22 12:14:27 +01:00
Sebastian RittauandGitHub afe18e95a9 Add an upstream_repository field to METADATA.toml (#10487)
Closes: #10478
2023-07-20 16:45:41 +02:00
Alex WaygoodandGitHub 79e092e133 Add some ruff autofixes to CI (#10458) 2023-07-20 14:41:52 +02:00
AvasamandGitHub db0149859c Add partial_stub metadata field (#10157) 2023-05-10 17:04:18 +02:00
Ali HamdanandGitHub 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 RittauandGitHub 565a1a07ad Remove note about Optional still being necessary sometimes (#9687) 2023-02-07 03:03:22 -08:00
Alex WaygoodandGitHub 4afda1dbe3 Rework CONTRIBUTING.md: simple parameter defaults are now accepted and encouraged (#9665) 2023-02-03 11:59:07 +00:00
Sebastian RittauandGitHub cd64563dd8 Rework the "Incomplete stubs" section (#9548)
Also move it to the "Conventions" section due its scope change.

Closes: #8955
2023-02-03 11:58:25 +01:00
70025c3723 Support third-party stub external dependencies in pytype (#9449)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-01-04 19:32:23 +00:00
AvasamandGitHub 0edcfa13ad Add syntax highlight to all shell code blocks (#9445) 2023-01-02 23:55:25 +00:00
AvasamandGitHub 23ac9bff19 Check for unused pyright: ignore and differentiate from mypy ignores (#9397) 2022-12-28 10:44:29 +00:00
AvasamandGitHub 7050c1d907 Add support for Homebrew and Chocolatey (#9187) 2022-11-24 07:17:17 +00:00
Sebastian RittauandGitHub 02942b710c Support "stub_distribution" and "upload" metadata fields (#9256) 2022-11-23 13:05:13 +01:00
Alex WaygoodandGitHub 263427f438 Bump test dependencies; improve pycln config (#9197) 2022-11-14 11:58:45 -08:00
9cd9f6f6e0 Add the ability to run third-party stubtest on Windows or MacOS when needed (#8923)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-11-11 13:40:50 +00:00
Jelle ZijlstraandGitHub b5c4580d52 CONTRIBUTING: Note no bytearray promotion (#9005)
Closes #9001
2022-10-28 13:48:59 -07:00
Nikita SobolevandGitHub 208c09044c Fix incomplete stubs wording in CONTRIBUTING.md (#8906) 2022-10-16 10:51:07 +01:00
Nikita SobolevandGitHub ce4668a132 Use Incomplete instead of Any in __getattr__ (#8903) 2022-10-15 18:54:21 +01:00
Samuel TandGitHub bcb8384e2f Removed outdated mypy exceptions in CONTRIBUTING (#8668)
Closes #8667
2022-09-02 09:09:35 +02:00
Alex WaygoodandGitHub b417d5796d Run flake8-noqa in CI (#8641) 2022-08-29 21:06:47 +01:00