Merge branch 'dev' of github.com:Riverside-Healthcare/djLint into dev

This commit is contained in:
Christopher Pickering 2022-09-21 09:32:56 +02:00
commit dd2172f01c
No known key found for this signature in database
GPG key ID: E14DB3B0A0FACF84
4 changed files with 4 additions and 6 deletions

View file

@ -1,6 +1,6 @@
{
"name": "djlint",
"version": "1.14.2",
"version": "1.17.0",
"description": "HTML Template Linter and Formatter",
"main": "./bin/index.js",
"directories": {

View file

@ -7,7 +7,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name="djlint"
version="1.14.2"
version="1.17.0"
description="HTML Template Linter and Formatter"
license="GPL-3.0-or-later"
authors=["Christopher Pickering <cpickering@rhc.net>"]

View file

@ -204,9 +204,7 @@ def build_stats_output(errors: List[Optional[Any]], config: Config) -> int:
echo()
width, _ = shutil.get_terminal_size()
echo(
f"{Fore.GREEN}{Style.BRIGHT}Statistics{Style.RESET_ALL}\n{Style.DIM}"
+ "".join(["" for x in range(1, width)])
+ Style.RESET_ALL
f"{Fore.GREEN}{Style.BRIGHT}Statistics{Style.RESET_ALL}\n{Style.DIM}{'' * width}{Style.RESET_ALL}"
)
if messages and codes:

View file

@ -22,7 +22,7 @@ allowlist_externals = black
[testenv:lint]
deps =
; flake8 has a dep conflict
; some can be installed manaully
; some can be installed manually
; here.
flake8
flake8-print