[Git][NTPsec/ntpsec][mr_1415] pylib/statfiles.py: Codacy wants _ prefix on unused vars.

Gary E. Miller (@garyedmundsmiller) gitlab at mg.gitlab.com
Wed Jan 1 04:26:38 UTC 2025



Gary E. Miller pushed to branch mr_1415 at NTPsec / ntpsec


Commits:
f1a1d752 by James Browning at 2024-12-31T20:26:08-08:00
pylib/statfiles.py: Codacy wants _ prefix on unused vars.

- - - - -


1 changed file:

- pylib/statfiles.py


Changes:

=====================================
pylib/statfiles.py
=====================================
@@ -104,7 +104,7 @@ Don't chanage without testing.
             index = (length - 1) * (perc / 100)
             lower = values[int(index)]
 
-            (frac, whole) = math.modf(index)
+            (frac, _whole) = math.modf(index)
             if 0.01 <= frac:
                 # interpolate up
                 upper = values[int(index) + 1]



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/f1a1d752f84a8f2a566b62355bee2ad58f010707

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/f1a1d752f84a8f2a566b62355bee2ad58f010707
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20250101/f4ed4c6d/attachment.htm>


More information about the vc mailing list