Skip to content

Commit

Permalink
Manual changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rhshadrach committed Nov 16, 2023
1 parent 61becb7 commit 2136bb2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pandas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
)

# let init-time option registration happen
import pandas.core.config_init # pyright: ignore[reportUnusedImport] # noqa: F401
import pandas.core.config_init # pyright: ignore[reportUnusedImport]

from pandas.core.api import (
# dtype
Expand Down Expand Up @@ -365,3 +365,5 @@
"value_counts",
"wide_to_long",
]

import pandas.core.groupby # pyright: ignore[reportUnusedImport] # noqa: F401
Empty file added pandas/_core/__init__.py
Empty file.
1 change: 1 addition & 0 deletions pandas/tests/api/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ class TestPDApi(Base):
# private modules in pandas namespace
private_modules = [
"_config",
"_core",
"_libs",
"_is_numpy_dev",
"_pandas_datetime_CAPI",
Expand Down
1 change: 1 addition & 0 deletions pandas/util/_tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def test(extra_args: list[str] | None = None, run_doctests: bool = False) -> Non
"--doctest-modules",
"--doctest-cython",
f"--ignore={os.path.join(PKG, 'tests')}",
f"--ignore={os.path.join(PKG, 'core', 'groupby')}",
]
cmd += [PKG]
joined = " ".join(cmd)
Expand Down
1 change: 1 addition & 0 deletions pyright_reportGeneralTypeIssues.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"exclude":
[
"pandas/tests",
"pandas/core/groupby",

"pandas/io/clipboard",
"pandas/util/version",
Expand Down

0 comments on commit 2136bb2

Please sign in to comment.