KotlinIsland / KotlinIsland/basedmypy

`re.Pattern` shouldn't be allowed in `helpful-string`

Open
#723 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
202
Forks
6
PR merge metrics
No merged PRs in 30d

Description

```py
import re

re_compile = re.compile("a")
print(re_compile) # re.compile('a')
print(type(re_compile)) #
```

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by reproducing the shown re.compile example with basedmypy and locate the implementation or tests for the `helpful-string` behavior; done means `re.Pattern` is rejected there while the expected existing cases remain supported.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.