From c0fa3af158ab6b5654c24718c678022e8d3340ce Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 30 Aug 2022 01:47:17 +0000 Subject: [PATCH 1/2] chore(release): 1.12.1 [skip ci] ## [1.12.1](https://github.com/Riverside-Healthcare/djLint/compare/v1.12.0...v1.12.1) (2022-08-30) ### Bug Fixes * **macro:** allow html tags inside macro functions to skip formatting ([bffb093](https://github.com/Riverside-Healthcare/djLint/commit/bffb093c4c6e9df915f289469d57c73532ed5166)), closes [#353](https://github.com/Riverside-Healthcare/djLint/issues/353) * **t001:** fixed false positive on T001 with Jinja {{- and {{+ tags ([c57e944](https://github.com/Riverside-Healthcare/djLint/commit/c57e9444a1190a826b5241374aa9594b3037fb52)), closes [#354](https://github.com/Riverside-Healthcare/djLint/issues/354) --- package.json | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ea39a58..e497aad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "djlint", - "version": "1.12.0", + "version": "1.12.1", "description": "HTML Template Linter and Formatter", "main": "./bin/index.js", "directories": { diff --git a/pyproject.toml b/pyproject.toml index 4fe6571..223bd63 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name="djlint" -version="1.12.0" +version="1.12.1" description="HTML Template Linter and Formatter" license="GPL-3.0-or-later" authors=["Christopher Pickering "] From 192e1e589324a829cd4dbee6cb75adc238ba56c4 Mon Sep 17 00:00:00 2001 From: Arseny Boykov <36469655+Bobronium@users.noreply.github.com> Date: Wed, 31 Aug 2022 19:42:40 +0400 Subject: [PATCH 2/2] Remove debug print statement Please consider using https://pypi.org/project/flake8-print/ as well --- src/djlint/formatter/expand.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/djlint/formatter/expand.py b/src/djlint/formatter/expand.py index 1b718ab..098ec6d 100644 --- a/src/djlint/formatter/expand.py +++ b/src/djlint/formatter/expand.py @@ -59,7 +59,6 @@ def expand_html(html: str, config: Config) -> str: add_right, html, ) - print(html) # template tag breaks def should_i_move_template_tag(out_format: str, match: re.Match) -> str: