Skip to content

Commit

Permalink
Lint, minor
Browse files Browse the repository at this point in the history
  • Loading branch information
patnr committed Feb 25, 2025
1 parent 4dd08d5 commit 3ddd2b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dapper/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ def frmt(uq):
if decimals is None:
v, p = str(uq).split(" ±")
else:
frmt = "%%.%df" % decimals
frmt = f"%.{decimals:d}f"
v, p = frmt % uq.val, frmt % uq.prec
attrs["val"], attrs["prec"] = v, p

Expand Down

0 comments on commit 3ddd2b6

Please sign in to comment.