-
Notifications
You must be signed in to change notification settings - Fork 2
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
Use TOML syntax for tox
configuration
#180
Use TOML syntax for tox
configuration
#180
Comments
Closing this for now until tox configs supports native TOML syntax. |
Since |
The [[rule]]
include = ["**/pyproject.toml"]
keys = ["tool.tox"]
[rule.formatting]
reorder_arrays = false Rules are a new feature in Taplo v0.9 though, which is not yet available in VS Code, see tamasfe/taplo#624. So long as that is not the case, we get situations where a configuration like [tool.tox.env.example]
commands = [
["pytest", "--no-header"],
] is autoformatted as [tool.tox.env.example]
commands = [
["--no-header", "pytest"],
] |
tox.ini
into pyproject.toml
tox
configuration
Possible since Tox v4.21.0, see https://tox.wiki/en/4.21.0/config.html#pyproject-toml-native. Example:
Tasks
tox.ini
intopyproject.toml
with legacy method #409Related PRs
The text was updated successfully, but these errors were encountered: