Fix more links
This commit is contained in:
parent
fcfb5a692c
commit
d528dd4259
|
@ -115,7 +115,7 @@ Changes
|
|||
|
||||
See the `new docs on comparison <https://www.attrs.org/en/stable/comparison.html>`_ for more details.
|
||||
`#787 <https://github.com/python-attrs/attrs/issues/787>`_
|
||||
- Added **provisional** support for static typing in ``pyright`` via the `dataclass_transforms specification <https://github.com/microsoft/pyright/blob/master/specs/dataclass_transforms.md>`_.
|
||||
- Added **provisional** support for static typing in ``pyright`` via the `dataclass_transforms specification <https://github.com/microsoft/pyright/blob/main/specs/dataclass_transforms.md>`_.
|
||||
Both the ``pyright`` specification and ``attrs`` implementation may change in future versions of both projects.
|
||||
|
||||
Your constructive feedback is welcome in both `attrs#795 <https://github.com/python-attrs/attrs/issues/795>`_ and `pyright#1782 <https://github.com/microsoft/pyright/discussions/1782>`_.
|
||||
|
|
|
@ -10,7 +10,11 @@ from attr import define, frozen, field, validators, Factory
|
|||
"""
|
||||
|
||||
linkcheck_ignore = [
|
||||
# We run into GitHub's rate limits.
|
||||
r"https://github.com/.*/(issues|pull)/\d+",
|
||||
# It never finds the anchor even though it's there.
|
||||
"https://github.com/microsoft/pyright/blob/main/specs/"
|
||||
"dataclass_transforms.md#attrs",
|
||||
]
|
||||
|
||||
# In nitpick mode (-n), still ignore any of the following "broken" references
|
||||
|
|
|
@ -96,7 +96,7 @@ Given the following definition, ``pyright`` will generate static type signatures
|
|||
|
||||
- The ``attr.frozen`` decorator is not typed with frozen attributes, which are properly typed via ``attr.define(frozen=True)``.
|
||||
|
||||
A `full list <https://github.com/microsoft/pyright/blob/main/specs/dataclass_transforms.md#Attrs>`_ of limitations and incompatibilities can be found in pyright's repository.
|
||||
A `full list <https://github.com/microsoft/pyright/blob/main/specs/dataclass_transforms.md#attrs>`_ of limitations and incompatibilities can be found in pyright's repository.
|
||||
|
||||
Your constructive feedback is welcome in both `attrs#795 <https://github.com/python-attrs/attrs/issues/795>`_ and `pyright#1782 <https://github.com/microsoft/pyright/discussions/1782>`_.
|
||||
Generally speaking, the decision on improving ``attrs`` support in pyright is entirely Microsoft's prerogative though.
|
||||
|
|
Loading…
Reference in New Issue