Metadata-Version: 2.1
Name: is-number-priyatham
Version: 0.0.2
Summary: A Python library to determine if something is a number.
Home-page: UNKNOWN
Author: Priyatham
Author-email: kunarapuriyatham@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/x-rst
Requires-Dist: requests (==2.22.0)

is-number
=========

A Python library to determine if something is a number.

.. image:: https://img.shields.io/pypi/v/is-number-priyatham
   :target: https://pypi.org/project/is-number-priyatham/
   :alt: PyPI

.. image:: https://github.com/Priyatham10/is-number/actions/workflows/ci.yaml/badge.svg
   :target: https://github.com/Priyatham10/is-number/actions/workflows/ci.yaml
   :alt: GitHub Actions - CI

.. image:: https://github.com/Priyatham10/is-number/actions/workflows/pre-commit.yaml/badge.svg
   :target: https://github.com/Priyatham10/is-number/actions/workflows/pre-commit.yaml
   :alt: GitHub Actions - pre-commit

.. image:: https://img.shields.io/codecov/c/github/Priyatham10/is-number
   :target: https://app.codecov.io/gh/Priyatham10/is-number
   :alt: Codecov

Installation
------------

.. code-block:: bash

   pip install is-number-priyatham

Developing
----------

This project uses ``black`` to format code and ``flake8`` for linting. We also support ``pre-commit`` to ensure
these have been run. To configure your local environment please install these development dependencies and set up
the commit hooks.

.. code-block:: bash

   $ pip install black flake8 pre-commit
   $ pre-commit install

Testing
-------

This project uses ``pytest`` to run tests and also to test docstring examples.

Install the test dependencies.

.. code-block:: bash

   $ pip install -r requirements_test.txt

Run the tests.

.. code-block:: bash

   $ pytest
   === 3 passed in 0.13 seconds ===

.. code-block:: bash

   # Set next version number
   export RELEASE=x.x.x

   # Create tags
   git commit --allow-empty -m "Release $RELEASE"
   git tag -a $RELEASE -m "Version $RELEASE"

   # Push
   git push upstream --tags

