datasette/datasette/version.py
Simon Willison 35d6ee2790
Apply black to everything, enforce via unit tests (#449)
I've run the black code formatting tool against everything:

    black tests datasette setup.py

I also added a new unit test, in tests/test_black.py, which will fail if the code does not
conform to black's exacting standards.

This unit test only runs on Python 3.6 or higher, because black itself doesn't run on 3.5.
2019-05-03 22:15:14 -04:00

6 lines
143 B
Python

from ._version import get_versions
__version__ = get_versions()["version"]
del get_versions
__version_info__ = tuple(__version__.split("."))