Skip to content

[Tooling] Make our tox.ini more friendly to interactive use  #28785

@kdestin

Description

@kdestin

Is your feature request related to a problem? Please describe.

Quality checks (formatting, linting, etc...) for packages in this repo are enforced by required PR checks. But waiting on a PR check can be a large time sink to get feedback that you forgot to format your code, fix a small lint, etc...

There are a couple changes that could be made to the tox.ini to clean-up the output and make it run a bit more quickly when run interactively

Describe the solution you'd like

  • Move all package installation out of the commands section, so they can be silenced with --quiet. This would require some custom implementation (e.g. additional deps fields) to permit the installation of packages that require "sticky" pip arguments (--index-url).
  • Amortize the time cost it takes to run the create_package_and_install.py step repeatedly. As currently implemented, the package gets rebuilt and re-installed every time the tox environment is run. Allowing tox to manage the re-installation of a package's dependencies would drastically speed up runs of tox after the first invocation.

Describe alternatives you've considered

N/A

Additional context

N/A

@scbedd

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions