8000 TYP: Implicit generic "Any" for builtins by simonjayhawkins · Pull Request #30541 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

TYP: Implicit generic "Any" for builtins #30541

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Dec 31, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
pandas\tests\frame\methods\test_replace.py:15: error: Implicit generi…
…c "Any". Use "typing.List" and specify generic parameters
  • Loading branch information
simonjayhawkins committed Dec 29, 2019
commit 673e14e56ff6dd4878c39d9aade305d6c7c5ea7d
4 changes: 2 additions & 2 deletions pandas/tests/frame/methods/test_replace.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from datetime import datetime
from io import StringIO
import re
from typing import Dict
from typing import Dict, List, Union

import numpy as np
import pytest
Expand All @@ -12,7 +12,7 @@


@pytest.fixture
def mix_ab() -> Dict[str, list]:
def mix_ab() -> Dict[str, List[Union[int, str]]]:
return {"a": list(range(4)), "b": list("ab..")}


Expand Down
0