dry-python / dry-python/classes

Use `returns` in testing

Open
#235 9 comments 0 reactions 1 assignee Claimed by @thepabloaguilar View on GitHub
enhancement
Dominant language
Python
Stars
730
Forks
30
PR merge metrics
No merged PRs in 30d

Description

We need to be sure that `classes` and `returns` can be used together and that typing works.

Plan:
1. Install `returns` as `dev-dependency`
2. Create special `typesafety/test_integration/test_returns` folder where we would test it
3. In `pytest-mypy-plugins` we would need to add `returns_plugin` to `mypy` settings

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.