diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aeb49c2b1a545..0a2f3f8f2506d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -50,7 +50,7 @@ repos: - flake8==4.0.1 - flake8-comprehensions==3.7.0 - flake8-bugbear==21.3.2 - - pandas-dev-flaker==0.4.0 + - pandas-dev-flaker==0.5.0 - repo: https://github.com/PyCQA/isort rev: 5.10.1 hooks: diff --git a/environment.yml b/environment.yml index a424100eda21a..187f666938aeb 100644 --- a/environment.yml +++ b/environment.yml @@ -33,7 +33,7 @@ dependencies: - gitpython # obtain contributors from git for whatsnew - gitdb - numpydoc - - pandas-dev-flaker=0.4.0 + - pandas-dev-flaker=0.5.0 - pydata-sphinx-theme - pytest-cython - sphinx diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 0013ddf73cddc..caa08c67cbfab 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1555,14 +1555,10 @@ def __matmul__(self, other: Series) -> Series: ... @overload - def __matmul__( - self, other: AnyArrayLike | DataFrame | Series - ) -> DataFrame | Series: + def __matmul__(self, other: AnyArrayLike | DataFrame) -> DataFrame | Series: ... - def __matmul__( - self, other: AnyArrayLike | DataFrame | Series - ) -> DataFrame | Series: + def __matmul__(self, other: AnyArrayLike | DataFrame) -> DataFrame | Series: """ Matrix multiplication using binary `@` operator in Python>=3.5. """ diff --git a/requirements-dev.txt b/requirements-dev.txt index 2746b91986a3c..3ccedcbad1782 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -19,7 +19,7 @@ pyupgrade gitpython gitdb numpydoc -pandas-dev-flaker==0.4.0 +pandas-dev-flaker==0.5.0 pydata-sphinx-theme pytest-cython sphinx