Skip to content

Commit

Permalink
misc tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Kundert authored and Ken Kundert committed Aug 17, 2021
1 parent 88c16ea commit bfba007
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ QuantiPhy — Physical Quantities
.. image:: https://pepy.tech/badge/quantiphy/month
:target: https://pepy.tech/project/quantiphy

.. image:: https://img.shields.io/readthedocs/quantiphy.svg
:target: https://quantiphy.readthedocs.io/en/latest/?badge=latest

.. image:: https://github.com/KenKundert/quantiphy/actions/workflows/build.yaml/badge.svg
:target: https://github.com/KenKundert/quantiphy/actions/workflows/build.yaml

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
url = 'https://quantiphy.readthedocs.io',
download_url = 'https://github.com/kenkundert/quantiphy/tarball/master',
license = 'MIT',
zip_safe = False,
py_modules = 'quantiphy'.split(),
install_requires = [],
tests_require = 'pytest inform rkm_codes'.split(),
python_requires = '>=3.5',
zip_safe = True,
keywords = keywords.split(),
classifiers = [
'Development Status :: 5 - Production/Stable',
Expand Down
2 changes: 1 addition & 1 deletion tests/test_quantity.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,10 +312,10 @@ def __init__(self, name, text, raw, formatted, prefs=None):
Case('mantis', '1000 MHz', ('1e9', 'Hz'), '1GHz', dict(prec=3, strip_zeros=True)),
]

names = set()
def test_number_recognition():
Quantity.reset_prefs()
Quantity.set_prefs(spacer=None, show_label=None, label_fmt=None, label_fmt_full=None)
names = set()
for case in test_cases:
if not case:
continue
Expand Down

0 comments on commit bfba007

Please sign in to comment.