Commit Graph

2 Commits

Author SHA1 Message Date
Jakub Stasiak 2be8dbac43 Introduce a new decorator to use with Module methods
provider provides (all puns intended) a more compact way to do what
provider + inject used to. It infers the interface to provide based on
decorated method's return type annotations therefore cooperating nicely
with type hints[1] and tools that use them.

Some source files are no longer fed to py.test because they contain
Python 3+ only syntax.

[1] https://docs.python.org/3/library/typing.html
2016-10-18 15:22:22 +02:00
Jakub Stasiak f9c64d42a1 Improve Sphinx documentation 2013-09-19 23:53:24 +01:00