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

Remove unnecessary Future usage #3020

Merged
merged 1 commit into from
May 28, 2023
Merged

Commits on May 28, 2023

  1. Remove unnecessary Future usage

    The tox.config.api.Loader.load() method was manually creating a Future
    and passing it to the .build() context manager method, but no executor
    was involved and nothing was asynchronous.  This commit moves the call
    to self.to() from the .load() method to the .build() method.  This
    allows dropping the Future and changing .build() from a context manager
    to a regular method.
    living180 committed May 28, 2023
    Configuration menu
    Copy the full SHA
    dac690d View commit details
    Browse the repository at this point in the history