Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Use `returns` in testing

Open
#235 9 comments 0 reactions 1 assignee View on GitHub

@thepabloaguilar is already working on this.

Since Oct 2, 2021.

Assessment

This issue has not been assessed yet.

Description

enhancement

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
Dominant language
Python
Stars
730
Forks
30
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dry-python/classes

All issues in dry-python/classes

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.