diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-09-01 13:48:00 -0700 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2020-09-02 11:23:45 +0200 |
commit | ec68e4fd5ab2674d88c58001b8e7bb42d76ff3a1 (patch) | |
tree | df8b8d494ddf37bcec13cd97a9f2f48e1d4bcb9f /docs/markdown/Users.md | |
parent | 0755be50482ed21cf5022d7880fbbae8a73747e1 (diff) | |
download | meson-ec68e4fd5ab2674d88c58001b8e7bb42d76ff3a1.zip meson-ec68e4fd5ab2674d88c58001b8e7bb42d76ff3a1.tar.gz meson-ec68e4fd5ab2674d88c58001b8e7bb42d76ff3a1.tar.bz2 |
dependencies: Fix type of dependency_factory decorator
There was both a straight up bug in the type signature (the return type
is List[Callable[[], Dependency]] not List[Type[Dependency]]), and in
the way the arguments are assembled. Typing is pretty limited in it's
ability to express decorators, so the best mypy can do is check the
return types (I think). I've done what the docs suggest and it's stopped
complaining.
Diffstat (limited to 'docs/markdown/Users.md')
0 files changed, 0 insertions, 0 deletions