Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pyproject.toml#98✨ New features
check-dev-files formatcommand now installs thetombi-formatandtombi-lintpre-commit hooks, writes a[tool.tombi]configuration topyproject.toml, and recommends thetombi-toml.tombiVS Code extension.--toml-formatteroption (taploortombi, defaulttombi) so a repository can opt back into the previous Taplo + toml-sort setup.compwa-policy.schema.json) for the public[tool.compwa.policy]configuration table and associate it through Tombi's[[tool.tombi.schemas]], so the policy config is validated and documented in the editor. The schema is regenerated byself-check.Settingsfield docstrings into the generated schema (viause_attribute_docstrings), so each policy option carries an inline description.--tombi-errors-on-warningsoption (default on) that runstombi-lintwith--error-on-warnings.⚙️ Enhancements
check-dev-files(andself-check) before the formatter hooks in the sorted.pre-commit-config.yaml, so generated files are formatted in the same pass.upgradetask intoupgrade-precommit,upgrade-uv, andupgrade-pixihelper tasks referenced from the parallel task.typing.Literalinstead ofEnum.more-itertoolsdependency and useitertools.pairwise(Python 3.10 is the minimum version).to_toml_array()and stop enforcing single-line arrays.The
Literaltype aliases for policy options were consolidated intocompwa_policy.config:compwa_policy.github.upgrade_lock.Frequencycompwa_policy.config.UpgradeFrequencycompwa_policy.env.conda.PackageManagerChoicecompwa_policy.config.PackageManagerChoicecompwa_policy.python.ty.TypeCheckercompwa_policy.config.TypeChecker❗ Behavioral changes
taplo/toml-sorthooks,.taplo.toml, and[tool.tomlsort]).tombi-linttreats warnings as errors by default.uv.lock) and other manifest files (Cargo.toml,Manifest.toml,Project.toml,labels*.toml) are excluded from Tombi formatting.flake8-builtinssetting is written under the renamedignorelistkey instead ofbuiltins-ignorelist.Squash commit messages