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

mozilla / relman-auto-nag / #4774

16 Oct 2023 01:15PM CUT coverage: 22.091%. Remained the same
#4774

push

coveralls-python

web-flow
Bump numpy from 1.26.0 to 1.26.1

Bumps [numpy](https://github.com/numpy/numpy) from 1.26.0 to 1.26.1.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](https://github.com/numpy/numpy/compare/v1.26.0...v1.26.1)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

716 of 3558 branches covered (0.0%)

1925 of 8714 relevant lines covered (22.09%)

0.22 hits per line

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

0.0
/bugbot/round_robin_fallback.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
import argparse
×
6

7
from . import logger, mail, utils
×
8
from .round_robin import RoundRobin
×
9

10

11
def send_mail(nag, dryrun=False):
×
12
    for fb, calendars in nag.items():
×
13
        mail.send_from_template(
×
14
            "round_robin_fallback_email.html",
15
            fb,
16
            "Triage owners need to be updated",
17
            Cc=utils.get_receivers("common"),
18
            dryrun=dryrun,
19
            calendars=calendars,
20
            plural=utils.plural,
21
        )
22

23

24
def check_people(date, dryrun=False):
×
25
    rr = RoundRobin.get_instance()
×
26
    # nag is a dict: persons -> list of persons
27
    #                team -> team name
28
    nag = rr.get_who_to_nag(date)
×
29
    send_mail(nag, dryrun=dryrun)
×
30

31

32
if __name__ == "__main__":
×
33
    parser = argparse.ArgumentParser(description="Check if next release date is ok")
×
34
    parser.add_argument(
×
35
        "--production",
36
        dest="dryrun",
37
        action="store_false",
38
        help="If the flag is not passed, just do the query, and print emails to console without emailing anyone",
39
    )
40
    parser.add_argument(
×
41
        "-D",
42
        "--date",
43
        dest="date",
44
        action="store",
45
        default="today",
46
        help="Date for the query",
47
    )
48
    args = parser.parse_args()
×
49
    try:
×
50
        check_people(args.date, dryrun=args.dryrun)
×
51
    except Exception:
×
52
        logger.exception("Rule round_robin_fallback")
×
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