UnknownPlatypus
djangofmt
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
chore(deps): lock file maintenance
renovate/lock-file-maintenance
1 day ago
chore(deps): update all non-major dependencies (#277) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
main
2 days ago
chore(deps): update all non-major dependencies
renovate/all-minor-patch
2 days ago
chore(deps): lock file maintenance
renovate/lock-file-maintenance
3 days ago
chore(deps): update all non-major dependencies
renovate/all-minor-patch
3 days ago
refactor(cli): unify check_path AST consumption after pre-parse With the up-front parse from the previous commit, both the no-fix path and the SyntaxRegression fallback redundantly re-parsed the source. Reuse the AST from the up-front parse and merge the two no-fix tails into a single block. This also resolves clippy's `branches_sharing_code` and `too_many_lines` lints.
blocktranslate-trimmed
5 days ago
feat(format): Add `--preserve-unquoted-attrs` option (#271) * Add --preserve-unquoted-attrs CLI flag and pyproject.toml option Wire the new markup_fmt preserve_unquoted_attrs option through djangofmt's CLI, pyproject.toml config, and FormatterConfig. When enabled, attribute values that were unquoted in the source (e.g., prop=True, count=42) remain unquoted in the output. This is useful for frameworks like Django Cotton that use unquoted attribute values to pass non-string types (booleans, numbers, template variables). Unquoted attribute values are valid HTML per spec. * Add tests for --preserve-unquoted-attrs option - Snapshot formatting test with Cotton component fixtures - Pyproject.toml config parsing test - FormatterConfig::from_args tests for CLI and pyproject precedence * Address review feedback - Update markup_fmt dependency to UnknownPlatypus/markup_fmt at merged commit - Use unwrap_or_default() instead of unwrap_or(false) - Add --no-preserve-unquoted-attrs negation flag using resolve_bool_arg - Restore r#" snapshot format to minimize diff - Refactor tests to use config.toml auto-loading pattern (matching markup_fmt) * Address second round of review feedback - Add disabled case to config.toml for exhaustive testing - Reuse PyprojectSettings for config.toml deserialization - build_config uses FormatterConfig::new with pyproject fields - run_format_test takes &FormatterConfig directly - Remove unused imports * Address review feedback round 3 - Fix clippy lints (needless raw string hashes, semicolon, for_each) - Reverse README diff direction to match repo convention (input -> output) - Document --no-preserve-unquoted-attrs hint in --help - Add test for CLI negation overriding pyproject true value - Rename test config sections to self-documenting snapshot suffixes --------- Co-authored-by: Thibaut Decombe <thibaut.decombe@gmail.com>
main
5 days ago
Address review feedback round 3 - Fix clippy lints (needless raw string hashes, semicolon, for_each) - Reverse README diff direction to match repo convention (input -> output) - Document --no-preserve-unquoted-attrs hint in --help - Add test for CLI negation overriding pyproject true value - Rename test config sections to self-documenting snapshot suffixes
nickpetrovic:main
5 days ago
Latest Branches
CodSpeed Performance Gauge
0%
chore(deps): lock file maintenance
#278
1 day ago
886f886
renovate/lock-file-maintenance
CodSpeed Performance Gauge
0%
chore(deps): update all non-major dependencies
#277
2 days ago
1214601
renovate/all-minor-patch
CodSpeed Performance Gauge
-6%
Blocktranslate trimmed
#276
5 days ago
8f563dd
blocktranslate-trimmed
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs