[py] Cleanup tox config by cgoldberg · Pull Request #15833 · SeleniumHQ/selenium

User description

💥 What does this PR do?

tox is the tool we use in Python for managing various tasks during local development (linting, doc generation, etc). This PR just cleans up the tox.ini file:

  • rename vallidate-pyproject environment to validate since tox does some weird stuff when names contain non-alpha characters
  • change comment style
  • fix indentation and spacing
  • remove missing test environments in envlist
  • update envlist to include only validate and linting. These are the default tasks that are executed when calling tox with no args.

🔄 Types of changes

  • local dev/build infrastructure

PR Type

Enhancement


Description

  • Renamed validate-pyproject environment to validate

  • Cleaned up comments, indentation, and spacing

  • Removed unused test environments from envlist

  • Updated default envlist to only validate and linting


Changes walkthrough 📝

Relevant files
Configuration changes
tox.ini
Refactored tox.ini: environment renaming and formatting cleanup

py/tox.ini

  • Renamed validate-pyproject environment to validate
  • Improved comment style, indentation, and spacing
  • Removed unused test environments from envlist
  • Updated envlist to include only validate and linting
  • +29/-22 

    Need help?
  • Type /help how to ... in the comments thread for any questions about Qodo Merge usage.
  • Check out the documentation for more information.