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

Fix typing for app_context #109

Merged
merged 2 commits into from
Oct 15, 2023
Merged

Conversation

felixfontein
Copy link
Collaborator

Currently the typing checks fail on main (see for example https://github.com/ansible-community/antsibull-core/actions/runs/6478324868/job/17589911927?pr=105). (Having @contextmanager in the overloads transforms the typing of the function stub. Also typing.ContextManager is a deprecated alias for contextlib.AbstractContextManager.)

@felixfontein felixfontein merged commit 7ce1fc5 into ansible-community:main Oct 15, 2023
5 checks passed
@felixfontein felixfontein deleted the typing branch October 15, 2023 19:23
@felixfontein
Copy link
Collaborator Author

@gotmax23 thanks!

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