Skip to content
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

Switch to legacy tests setup to be able to mock requests #1

Merged
merged 4 commits into from
Sep 13, 2023

Conversation

wadevries
Copy link
Member

This is a temporary workaround until we figure out how to mock the API with the class-based built-in tap tests.

@wadevries wadevries merged commit ca9bc9b into main Sep 13, 2023
4 checks passed
@wadevries wadevries deleted the fix-tests branch September 13, 2023 14:38
@@ -34,7 +35,7 @@ ignore = [
]
select = ["ALL"]
src = ["tap_linear"]
target-version = "py311"
target-version = "py38"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why Python 3.8?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because ruff will otherwise propose code improvements that are not compatible with older yet supported Python versions. Notably https://github.com/leukeleu/tap-linear/pull/1/files/3bc74435bb0edf42e6c9193cb2c5634553808231#diff-938de46e643ab091cff6a7c23e4e752e8907e2266f47889d988923352f7a1058L10 was ruff's idea, but it broke on Python < 3.11.

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.

2 participants