<commit_before>
[tasks.pre-format-toml]
category = "Development"

[tasks.format-toml]
description = "Formats all toml files defined in the CARGO_MAKE_FORMAT_TOML_FILES environment variable."
category = "Development"
condition = { env_set = ["CARGO_MAKE_FORMAT_TOML_FILES"] }
install_crate = { crate_name = "taplo-cli", binary = "taplo", test_arg = [
  "--help",
] }
command = "taplo"
args = ["format", "${CARGO_MAKE_FORMAT_TOML_FILES}"]

[tasks.post-format-toml]
category = "Development"

[tasks.format-toml-flow]
description = "Runs the format toml tasks."
category = "Development"
dependencies = ["pre-format-toml", "format-toml", "post-format-toml"]

[tasks.format-toml-conditioned-flow]
description = "Runs the format toml tasks if conditions are met."
category = "Development"
condition = { env_set = ["CARGO_MAKE_RUN_TOML_FORMAT"] }
run_task = "format-toml-flow"<commit_msg>Extent format-toml with optional arguments<commit_after>
[tasks.pre-format-toml]
category = "Development"

[tasks.format-toml]
description = "Formats all toml files defined in the CARGO_MAKE_FORMAT_TOML_FILES environment variable."
category = "Development"
condition = { env_set = ["CARGO_MAKE_FORMAT_TOML_FILES"] }
install_crate = { crate_name = "taplo-cli", binary = "taplo", test_arg = [
  "--help",
] }
command = "taplo"
args = ["format", "${CARGO_MAKE_FORMAT_TOML_FILES}", "@@split(CARGO_MAKE_FORMAT_TOML_ARGS, )",]

[tasks.post-format-toml]
category = "Development"

[tasks.format-toml-flow]
description = "Runs the format toml tasks."
category = "Development"
dependencies = ["pre-format-toml", "format-toml", "post-format-toml"]

[tasks.format-toml-conditioned-flow]
description = "Runs the format toml tasks if conditions are met."
category = "Development"
condition = { env_set = ["CARGO_MAKE_RUN_TOML_FORMAT"] }
run_task = "format-toml-flow"
{'fraction_non_alphanumeric': 0.14301310043668122, 'fraction_numerical': 0.0, 'mean_word_length': 5.943181818181818, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5986707', 'n_tokens_mistral': 683, 'n_tokens_neox': 635, 'n_words': 138}