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

Ignored mypy error when using hypothesis

Open
#108 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Reproduce the error with pre-commit run mypy --files tests/routers/v1/datasets_list_datasets_test.py and compare it with running mypy directly in a fresh environment. Start at tests/routers/v1/datasets_list_datasets_test.py:241; done means the pre-commit check no longer reports the untyped Hypothesis decorator error.

Written by the indexing model from the issue text.

Description

dev-tools

The following mypy error arises when running pre-commit run mypy --files tests/routers/v1/datasets_list_datasets_test.py.

tests/routers/v1/datasets_list_datasets_test.py:241: error: Untyped decorator makes function "test_list_data_identical" untyped  [misc]

but it doesn't happen in a fresh environment when installing the dependencies and running mypy directly, only when running through pre-commit. I already enforced the installation of hypothesis as a dependency and the use of python 3.12, but neither resolved the issue.

The most closely related issue I could find is https://github.com/HypothesisWorks/hypothesis/issues/2917 which suggests this problem would have been solved years ago.

Dominant language
Python
Stars
16
Forks
50
PR merge metrics
No merged PRs in 30d

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

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 openml/server-api

All issues in openml/server-api

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.