diff --git a/CHANGELOG.md b/CHANGELOG.md index 593b7eb..bfb3a0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Allow to use a custom class for the chart rendering via the `Chart(..., renderer_cls=MyClass)` keyword argument (see `examples/custom-renderer-class.py` for inspiration) +- The module is is now PEP 561 compatible, and tested with `mypy` ### Changed - Fixed off-by-one shift when rendering empty lines on the Y-axis (the issue was visible only when the Y-axis was on the left side) diff --git a/setup.cfg b/setup.cfg index 9bdd681..c030123 100644 --- a/setup.cfg +++ b/setup.cfg @@ -45,6 +45,9 @@ packages = find: [options.packages.find] where = src +[options.package_data] +candlestick_chart = py.typed + [options.entry_points] console_scripts = candlestick-chart = candlestick_chart.__main__:main diff --git a/src/candlestick_chart/py.typed b/src/candlestick_chart/py.typed new file mode 100644 index 0000000..e69de29