-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Fugue test, add python 3.11 support, remove
as_ibis
(#528)
* Refactor Fugue test * update * update * update * update * update * update * update * update * update * Add 3.11 support * update * update comments * update * update
- Loading branch information
1 parent
846cca9
commit 29f105d
Showing
86 changed files
with
1,468 additions
and
1,633 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[MESSAGES CONTROL] | ||
disable = C0103,C0114,C0115,C0116,C0122,C0200,C0201,C0302,C0411,C0415,E0401,E0712,E1130,E1136,E5110,R0201,R0205,R0801,R0902,R0903,R0904,R0911,R0912,R0913,R0914,R0915,R1705,R1710,R1714,R1718,R1720,R1724,W0102,W0107,W0108,W0201,W0212,W0221,W0223,W0237,W0511,W0613,W0622,W0631,W0640,W0703,W0707,W1116 | ||
disable = C0103,C0114,C0115,C0116,C0122,C0200,C0201,C0302,C0411,C0415,E0401,E0712,E1130,E1136,E5110,R0201,R0205,R0801,R0902,R0903,R0904,R0911,R0912,R0913,R0914,R0915,R1705,R1710,R1714,R1718,R1720,R1724,W0102,W0107,W0108,W0201,W0212,W0221,W0223,W0237,W0511,W0603,W0613,W0621,W0622,W0631,W0640,W0703,W0707,W1116 | ||
# TODO: R0205: inherits from object, can be safely removed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# flake8: noqa | ||
from .pandas_tester import NativeTestBackend, PandasTestBackend | ||
from .plugins import ( | ||
FugueTestBackend, | ||
FugueTestContext, | ||
FugueTestSuite, | ||
extract_conf, | ||
fugue_test_backend, | ||
fugue_test_suite, | ||
with_backend, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
from contextlib import contextmanager | ||
from typing import Any, Dict, Iterator | ||
|
||
from .plugins import FugueTestBackend, fugue_test_backend | ||
|
||
|
||
@fugue_test_backend | ||
class PandasTestBackend(FugueTestBackend): | ||
name = "pandas" | ||
|
||
@classmethod | ||
@contextmanager | ||
def session_context(cls, session_conf: Dict[str, Any]) -> Iterator[Any]: | ||
yield "pandas" # pragma: no cover | ||
|
||
|
||
@fugue_test_backend | ||
class NativeTestBackend(FugueTestBackend): | ||
name = "native" | ||
|
||
@classmethod | ||
@contextmanager | ||
def session_context(cls, session_conf: Dict[str, Any]) -> Iterator[Any]: | ||
yield "native" # pragma: no cover |
Oops, something went wrong.