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 tox 4 #1020

Merged
merged 2 commits into from
Apr 13, 2023
Merged

Switch to tox 4 #1020

merged 2 commits into from
Apr 13, 2023

Commits on Apr 13, 2023

  1. Update tox.ini to work with tox 4

    - remove `skipsdist = True` (tox 4 will not install bandit with this setting, not even in editable mode for environments where `usedevelop = True` is set), add `skip_install = true` to the pep8 job
    - remove `requires = tox<4`
    - use multi-line list for `passenv`
    - add the `-` mark to ignore pylint exit code in the pep8 job - although this mark is already present in `[testenv:pylint]`, tox 4 ignores it when using the `{[testenv:pylint]commands}` substitution
    mportesdev committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    99866cd View commit details
    Browse the repository at this point in the history
  2. Use the tox run command

    In tox 4, environments should always be specified using the -e flag to the `run` subcommand. https://tox.wiki/en/4.4.11/upgrading.html#updating-usage-with-e
    mportesdev committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    cade1d7 View commit details
    Browse the repository at this point in the history