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

pantsbuild / pants / 29694702950

19 Jul 2026 04:21PM UTC coverage: 93.079% (-0.004%) from 93.083%
29694702950

push

github

web-flow
Native `suggest_renames` (#23535)

Replace use of python difflib with strsim, an already transitive rust
dependency. I've relied on the existing tests to verify that the match
rating is ~similar between impls but not tuned more than that. It is
after all just a warning text.

This implementation is _very fast_ compared to the previous impl, mainly
because the new one has linear instead of quadratic complexity w.r.t
inputs. Further, it correctly interprets dockerfile globs, and is
allocatation scarce.

Closes https://github.com/pantsbuild/pants/issues/22246 and
https://github.com/pantsbuild/pants/issues/20822.

95167 of 102243 relevant lines covered (93.08%)

3.68 hits per line

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

93.18
/src/python/pants/backend/docker/utils.py


Source Not Available

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