Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Calendar Widget
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo modules
Calendar Widget
Merge requests
!1
fix documentation generation, avoid error with empty files
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix documentation generation, avoid error with empty files
topic/15.0/fix-doc
into
branch/15.0
Overview
0
Commits
1
Pipelines
2
Changes
3
Merged
Vincent Hatakeyama
requested to merge
topic/15.0/fix-doc
into
branch/15.0
3 years ago
Overview
0
Commits
1
Pipelines
2
Changes
3
Expand
--HG-- branch : 15.0
0
0
Merge request reports
Compare
branch/15.0
version 1
aa2d503c
3 years ago
branch/15.0 (base)
and
latest version
latest version
f20fdfc4
1 commit,
3 years ago
version 1
aa2d503c
1 commit,
3 years ago
3 files
+
14
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
doc/autotodo.py
+
1
−
0
Options
@@ -101,6 +101,7 @@ def scan_folder(data_tuple, dirname, names):
def
scan_file
(
filename
,
tags
)
->
Tuple
[
Dict
[
str
,
Tuple
[
str
,
int
,
str
]],
int
]:
res
=
{
tag
:
[]
for
tag
in
tags
}
line_num
:
int
=
0
with
open
(
filename
,
"
r
"
)
as
f
:
for
line_num
,
line
in
enumerate
(
f
):
for
tag
in
tags
:
Loading