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

hgrecco / pint / 1635 / 11
92%
master: 91%

Build:
Build:
LAST BUILD BRANCH: fix-nonmult-doc
DEFAULT BRANCH: master
Ran 19 Feb 2020 01:02PM UTC
Files 18
Run time 3s
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

19 Feb 2020 12:44PM UTC coverage: 86.48% (+0.04%) from 86.436%
PKGS="python=3.6 numpy=1.14 uncertainties=3.0"

push

travis-ci

web-flow
Merge #1023

1023: Make `__str__` and `__format__` locale aware r=hgrecco a=hgrecco

With this commit, all string formatting operations are locale aware

    >>> ureg.set_fmt_locale('fr_FR')
    >>> str(accel)
    '1.3 mètre par seconde²'
    >>> "%s" % accel
    '1.3 mètre par seconde²'
    >>> "{}".format(accel)
    '1.3 mètre par seconde²'

It should not break any code as the default locale value for the
Registry is `None` (meaning do not localize).

Close #984

- [x] Closes #984 (insert issue number)
- [x] Executed ``black -t py36 . && isort -rc . && flake8`` with no errors
- [x] The change is fully covered by automated unit tests
- [x] Documented in docs/ as appropriate
- [x] Added an entry to the CHANGES file


Co-authored-by: Hernan <hernan.grecco@gmail.com>
Co-authored-by: Hernan Grecco <hernan.grecco@gmail.com>

3358 of 3883 relevant lines covered (86.48%)

0.86 hits per line

Source Files on job 1635.11 (PKGS="python=3.6 numpy=1.14 uncertainties=3.0")
  • Tree
  • List 0
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1516
  • Travis Job 1635.11
  • 04ed14ad on github
  • Prev Job for PKGS="python=3.6 numpy=1.14 uncertainties=3.0" on staging (#1631.11)
  • Next Job for PKGS="python=3.6 numpy=1.14 uncertainties=3.0" on staging (#1639.11)
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

© 2026 Coveralls, Inc