• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mozilla / relman-auto-nag / #5168

17 Jul 2024 07:40PM CUT coverage: 21.692% (-0.07%) from 21.766%
#5168

push

coveralls-python

benjaminmah
Separated `no_severity` rule into two separate rules

585 of 3499 branches covered (16.72%)

0 of 108 new or added lines in 3 files covered. (0.0%)

1 existing line in 1 file now uncovered.

1933 of 8911 relevant lines covered (21.69%)

0.22 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/bugbot/rules/workflow/multi_nag.py
1
# This Source Code Form is subject to the terms of the Mozilla Public
2
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
3
# You can obtain one at http://mozilla.org/MPL/2.0/.
4

5
from bugbot.erroneous_bzmail import check_erroneous_bzmail
×
6
from bugbot.multinaggers import MultiNaggers
×
7

NEW
8
from .no_severity_nag import NoSeverityNag
×
NEW
9
from .no_severity_ni import NoSeverityNeedInfo
×
UNCOV
10
from .p1_no_assignee import P1NoAssignee
×
11

12
# from .p1_no_activity import P1NoActivity
13
# from .p2_no_activity import P2NoActivity
14
# from .p2_merge_day import P2MergeDay
15

16

17
class WorkflowMultiNag(MultiNaggers):
×
18
    def __init__(self):
×
19
        super(WorkflowMultiNag, self).__init__(
×
20
            NoSeverityNeedInfo(),
21
            NoSeverityNag(),
22
            # P1NoActivity(),
23
            P1NoAssignee(),
24
            # P2NoActivity(),
25
        )
26

27
    def description(self):
×
28
        return "Bugs requiring special attention to help release management"
×
29

30
    def title(self):
×
31
        return "{} -- Severity and Priority Flags Alert".format(
×
32
            self.date.strftime("%A %b %d")
33
        )
34

35

36
if __name__ == "__main__":
×
37
    # P2MergeDay().run()
38
    wmn = WorkflowMultiNag()
×
39
    wmn.run()
×
40
    check_erroneous_bzmail(dryrun=wmn.is_dryrun)
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc