Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-42238: [doc] remove unused, and deduplicate, suspicious ignore rules. #28137

Merged
merged 1 commit into from
Sep 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doc/tools/extensions/suspicious.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def finish(self):
self.logger.warning(
'Found %s/%s unused rules: %s' % (
len(unused_rules), len(self.rules),
''.join(repr(rule) for rule in unused_rules),
'\n'.join(repr(rule) for rule in unused_rules),
)
)
return
Expand Down
30 changes: 10 additions & 20 deletions Doc/tools/susp-ignored.csv
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,6 @@ library/tarfile,,:xz,'r:xz'
library/tarfile,,:xz,'w:xz'
library/time,,:mm,
library/time,,:ss,
library/tkinter,294,::,ttk::frame .frm -padding 10
library/tkinter,294,::,"grid [ttk::label .frm.lbl -text ""Hello World!""] -column 0 -row 0"
library/tkinter,294,::,"grid [ttk::button .frm.btn -text ""Quit"" -command ""destroy .""] -column 1 -row 0"
library/tkinter,304,::,ttk::frame
library/tkinter,402,::,ttk::button
library/tkinter,410,::,ttk::widget
library/tracemalloc,,:limit,"for index, stat in enumerate(top_stats[:limit], 1):"
library/turtle,,::,Example::
library/unittest,,:foo,"self.assertEqual(cm.output, ['INFO:foo:first message',"
Expand Down Expand Up @@ -376,17 +370,13 @@ library/importlib.metadata,,:main,"EntryPoint(name='wheel', value='wheel.cli:mai
library/importlib.metadata,,`,loading the metadata for packages for the indicated ``context``.
library/re,,`,"`"
using/configure,84,:db2,=db1:db2:...
library/typing,1004,`,# Type of ``val`` is narrowed to ``str``
library/typing,1004,`,"# Else, type of ``val`` is narrowed to ``float``."
library/typing,1004,`,# Type of ``val`` is narrowed to ``List[str]``.
library/typing,1004,`,# Type of ``val`` remains as ``List[object]``.
library/tkinter,312,::,ttk::frame .frm -padding 10
library/tkinter,312,::,"grid [ttk::label .frm.lbl -text ""Hello World!""] -column 0 -row 0"
library/tkinter,312,::,"grid [ttk::button .frm.btn -text ""Quit"" -command ""destroy .""] -column 1 -row 0"
library/tkinter,322,::,ttk::frame
library/tkinter,420,::,ttk::button
library/tkinter,428,::,ttk::widget
library/typing,1011,`,# Type of ``val`` is narrowed to ``str``
library/typing,1011,`,"# Else, type of ``val`` is narrowed to ``float``."
library/typing,1011,`,# Type of ``val`` is narrowed to ``List[str]``.
library/typing,1011,`,# Type of ``val`` remains as ``List[object]``.
library/typing,,`,# Type of ``val`` is narrowed to ``str``
library/typing,,`,"# Else, type of ``val`` is narrowed to ``float``."
library/typing,,`,# Type of ``val`` is narrowed to ``List[str]``.
library/typing,,`,# Type of ``val`` remains as ``List[object]``.
library/tkinter,,::,ttk::frame .frm -padding 10
library/tkinter,,::,"grid [ttk::label .frm.lbl -text ""Hello World!""] -column 0 -row 0"
library/tkinter,,::,"grid [ttk::button .frm.btn -text ""Quit"" -command ""destroy .""] -column 1 -row 0"
library/tkinter,,::,ttk::frame
library/tkinter,,::,ttk::button
library/tkinter,,::,ttk::widget