Commit Graph

5 Commits

Author SHA1 Message Date
Jim Brännlund 8e96c6ed94
Migrate to 'black' for consistent styling and formatting (#218)
* Migrate to 'black' for consistent styling and formatting

* Add black to tox and travis
2019-08-04 14:09:46 +02:00
Bruno Oliveira 44d1aa4bfa Always define __version__ even if get_distribution() fails
In frozen executables such as pyinstaller, get_distribution() does not work
because it looks for files in the environment which are not packed in the
executable.

This patch makes `__version__` available in those situations, otherwise the
plugin won't work at all because `plugin.py` tries to import `__version__`
from `pytest_html.__init__`.
2018-09-17 14:54:25 -03:00
Dave Hunt fba7e3907e
Don't raise if package is not installed 2016-11-30 09:24:57 +00:00
Denis Afonso 733d42c9f0 Added version number and PyPI URL to report header (#88)
Fixes #86
2016-11-30 09:14:09 +00:00
Florian Bruhin bc18b2a898 Rename package to pytest_html.
This is to avoid a conflict with the `html' package which is in the Python3
stdlib.
2015-05-07 20:28:47 +02:00