Skip to content

Fix false positives wrt. TextCalendar#15661

Open
Peilonrayz wants to merge 2 commits intopython:mainfrom
Peilonrayz:main
Open

Fix false positives wrt. TextCalendar#15661
Peilonrayz wants to merge 2 commits intopython:mainfrom
Peilonrayz:main

Conversation

@Peilonrayz
Copy link
Copy Markdown

Fixes #15650

FWIW: I've not checked the entire file, I was only interested in extending TextCalendar.

@github-actions
Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

pandas (https://github.com/pandas-dev/pandas)
- pandas/core/computation/ops.py:328: error: Need type annotation for "_binary_ops_dict" (hint: "_binary_ops_dict: dict[<type>, <type>] = ...")  [var-annotated]

@Peilonrayz
Copy link
Copy Markdown
Author

I don't think the untyped dict is related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Calendar arguments typed as int which should be Iterable.

1 participant