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

hyperglass-community / hyperglass / 45706629247
89%

Build:
DEFAULT BRANCH: main
Ran 25 Nov 2026 09:43PM UTC
Jobs 2
Files 485
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Nov 2026 09:41PM UTC coverage: 89.198%. Remained the same
45706629247

push

github

web-flow
build(ruff): format and sort imports with ruff instead of Black and isort (#610)

* build(ruff): format and sort imports with ruff instead of Black and isort

Black and isort were configured but never run in CI, and ruff's import
rule (I001) was ignored, so neither formatting nor import order was
enforced. Ruff now does both: I001 is no longer ignored, the isort
ordering moves to [tool.ruff.lint.isort] (length-sort, known third-party
litestar and inquirer), the isort import headings move to
[tool.ruff.lint.isort.import-heading], and CI runs ruff format --check
next to ruff check. force-exclude applies the existing exclusions to
explicitly passed paths too.

Black, isort and their config are removed, the taskipy format, lint and
sort tasks call ruff, and CONTRIBUTING describes the checks. hooks.sh is
removed: it only held a commented-out isort call and a call to a
validate_examples.py that no longer exists, and nothing referenced it.

* test(reverse-dns): put each parametrized address on its own line

The S104 noqa sat at the end of a line holding ten addresses. Ruff format
puts each address on its own line, which would leave the noqa on
240.0.0.1 instead of 0.0.0.0. Split the list in the layout ruff format
produces, with the noqa on the address it covers, so the reformat leaves
it in place.

* style: remove two stray import heading comments

hyperglass/models/main.py had a second, empty `# Standard Library`
heading above the real one, and hyperglass/util/tests/test_dns_endpoint.py
had a `# Standard Library` heading with no standard library imports
under it. Ruff's import-heading setting only adds or replaces the heading
directly above an import section, so it would leave both in place.

* style: format with ruff and sort imports

Output of `ruff format .` followed by `ruff check --select I --fix .`
(ruff 0.15.17 from uv.lock), with no other changes. The import fix also
adds the import section headings configured in
[tool.ruff.lint.isort.import-heading... (continued)

1230 of 1505 branches covered (81.73%)

Branch coverage included in aggregate %.

156 of 158 new or added lines in 77 files covered. (98.73%)

10 existing lines in 9 files now uncovered.

22436 of 25027 relevant lines covered (89.65%)

34.47 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
73.13
0.0% hyperglass/models/data/bgp_route.py
1
46.43
0.0% hyperglass/models/data/traceroute.py

Coverage Regressions

Lines Coverage ∆ File
2
74.29
0.0% hyperglass/external/ip_enrichment.py
1
73.13
0.0% hyperglass/models/data/bgp_route.py
1
76.44
0.0% hyperglass/plugins/_builtin/trace_route_frr.py
1
53.4
0.0% hyperglass/plugins/_builtin/trace_route_mikrotik.py
1
70.68
0.0% hyperglass/plugins/_builtin/trace_route_huawei.py
1
46.43
0.0% hyperglass/models/data/traceroute.py
1
98.25
0.0% hyperglass/state/tests/test_hooks.py
1
97.08
0.0% hyperglass/execution/drivers/ssh_netmiko.py
1
92.31
0.0% hyperglass/external/rpki.py
Jobs
ID Job ID Ran Files Coverage
1 frontend - 45706629247.1 25 Nov 2026 09:43PM UTC 144
86.03
GitHub Action Run
2 backend - 45706629247.2 25 Nov 2026 09:45PM UTC 341
89.89
GitHub Action Run
Source Files on build 45706629247
  • Tree
  • List 485
  • Changed 97
  • Source Changed 97
  • Coverage Changed 61
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #45706629247
  • 973ba6f7 on github
  • Prev Build on main (#45705550275)
  • Next Build on main (#45709427994)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc