Skip to content

Commit 5eccc7a

Browse files
committed
Keep ignoring __annotations__ warnings, adjust threshold
1 parent 20062f5 commit 5eccc7a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Doc/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@
224224
('py:meth', '_SubParsersAction.add_parser'),
225225
# Attributes/methods/etc. that definitely should be documented better,
226226
# but are deferred for now:
227+
('py:attr', '__annotations__'),
227228
('py:attr', '__wrapped__'),
228229
]
229230

Doc/tools/check-warnings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from typing import TextIO
1616

1717
# Fail if NEWS nit found before this line number
18-
NEWS_NIT_THRESHOLD = 8550
18+
NEWS_NIT_THRESHOLD = 4800
1919

2020
# Exclude these whether they're dirty or clean,
2121
# because they trigger a rebuild of dirty files.

0 commit comments

Comments
 (0)