Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mentors.debian.net
debexpo
Commits
ab170cd4
Verified
Commit
ab170cd4
authored
Aug 18, 2022
by
Baptiste Beauplat
Browse files
Ignore lintian M: (mask) severity (Closes:
#141
)
parent
3ff153fb
Changes
1
Show whitespace changes
Inline
Side-by-side
debexpo/plugins/lintian.py
View file @
ab170cd4
...
...
@@ -101,6 +101,12 @@ class PluginLintian(BasePlugin):
override_comments
.
append
(
tag
[
3
:].
strip
())
continue
# Skip mask severity
if
tag
.
startswith
(
"M: "
):
# Drop associated N:
override_comments
.
pop
()
continue
severity
,
package
,
rest
=
tag
.
split
(
': '
,
2
)
lintian_severities
.
add
(
severity
)
lintian_tag_data
=
rest
.
split
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment