You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds links to Python Discourse and ruff to typing.readthedocs.io (#1774)
I noticed that the "Discussions and Support" section still linked to the
typing-sig mailing list. While touching this page, I figured I might as well
add ruff, which is used by typeshed, to the list of linters, and make the
items in each list grammatically consistent.
Copy file name to clipboardExpand all lines: docs/index.rst
+15-8Lines changed: 15 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,8 @@ Discussions and Support
54
54
55
55
* `User help forum <https://github.com/python/typing/discussions>`_
56
56
* `User chat on Gitter <http://gitter.im/python/typing>`_
57
-
* `Developer mailing list <https://mail.python.org/archives/list/[email protected]/>`_
57
+
* `Developer forum <https://discuss.python.org/c/typing/32>`_
58
+
* `Developer mailing list (archived) <https://mail.python.org/archives/list/[email protected]/>`_
58
59
59
60
Typing-related Tools
60
61
====================
@@ -64,12 +65,12 @@ Type Checkers
64
65
65
66
* `mypy <http://mypy-lang.org/>`_, the reference implementation for type
66
67
checkers.
67
-
* `pyre <https://pyre-check.org/>`_, written in OCaml and optimized for
68
-
performance.
68
+
* `pyre <https://pyre-check.org/>`_, a type checker written in OCaml and
69
+
optimized for performance.
69
70
* `pyright <https://github.com/microsoft/pyright>`_, a type checker that
70
71
emphasizes speed.
71
-
* `pytype <https://google.github.io/pytype/>`_, checks and infers types for
72
-
unannotated code.
72
+
* `pytype <https://google.github.io/pytype/>`_, a type checker that
73
+
checks and infers types for unannotated code.
73
74
74
75
Development Environments
75
76
------------------------
@@ -89,13 +90,19 @@ Linters and Formatters
89
90
* `flake8-pyi <https://github.com/ambv/flake8-pyi>`_, a plugin for the
90
91
`flake8 <https://flake8.pycqa.org/>`_ linter that adds support for type
91
92
stubs.
93
+
* `ruff <https://astral.sh/ruff>`_, a linter built for speed, with support for
94
+
most of the ``flake8-pyi`` rules.
92
95
93
96
Type-Hint and Stub Integration
94
97
------------------------------
95
98
96
-
* `autotyping <https://github.com/JelleZijlstra/autotyping>`_, a tool which infers simple types from their context and inserts them as inline type-hints.
97
-
* `merge_pyi <https://google.github.io/pytype/developers/tools.html#merge_pyi>`_, integrates .pyi signatures as inline type-hints in Python source code.
98
-
This is a thin wrapper around ``ApplyTypeAnnotationsVisitor`` from `libCST <https://libcst.readthedocs.io/en/latest/>`_.
99
+
* `autotyping <https://github.com/JelleZijlstra/autotyping>`_, a tool which
100
+
infers simple types from their context and inserts them as inline type-hints.
0 commit comments