Skip to content

Commit d528dd4

Browse files
committed
Fix more links
1 parent fcfb5a6 commit d528dd4

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Changes
115115

116116
See the `new docs on comparison <https://www.attrs.org/en/stable/comparison.html>`_ for more details.
117117
`#787 <https://github.com/python-attrs/attrs/issues/787>`_
118-
- Added **provisional** support for static typing in ``pyright`` via the `dataclass_transforms specification <https://github.com/microsoft/pyright/blob/master/specs/dataclass_transforms.md>`_.
118+
- Added **provisional** support for static typing in ``pyright`` via the `dataclass_transforms specification <https://github.com/microsoft/pyright/blob/main/specs/dataclass_transforms.md>`_.
119119
Both the ``pyright`` specification and ``attrs`` implementation may change in future versions of both projects.
120120

121121
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>`_.

docs/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010
"""
1111

1212
linkcheck_ignore = [
13+
# We run into GitHub's rate limits.
1314
r"https://github.com/.*/(issues|pull)/\d+",
15+
# It never finds the anchor even though it's there.
16+
"https://github.com/microsoft/pyright/blob/main/specs/"
17+
"dataclass_transforms.md#attrs",
1418
]
1519

1620
# In nitpick mode (-n), still ignore any of the following "broken" references

docs/types.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Given the following definition, ``pyright`` will generate static type signatures
9696

9797
- The ``attr.frozen`` decorator is not typed with frozen attributes, which are properly typed via ``attr.define(frozen=True)``.
9898

99-
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.
99+
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.
100100

101101
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>`_.
102102
Generally speaking, the decision on improving ``attrs`` support in pyright is entirely Microsoft's prerogative though.

0 commit comments

Comments
 (0)