mirror of
https://github.com/Hopiu/djLint.git
synced 2026-03-25 01:30:23 +00:00
70 lines
1.8 KiB
TOML
70 lines
1.8 KiB
TOML
[build-system]
|
|
requires = ["poetry_core>=1.0.0"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
|
|
[tool]
|
|
|
|
[tool.poetry]
|
|
name="djlint"
|
|
version="1.7.2"
|
|
description="HTML Template Linter and Formatter"
|
|
license="GPL-3.0-or-later"
|
|
authors=["Christopher Pickering <cpickering@rhc.net>"]
|
|
maintainers=["Christopher Pickering <cpickering@rhc.net>"]
|
|
readme="README.md"
|
|
repository="https://github.com/Riverside-Healthcare/djlint"
|
|
documentation="https://djlint.com"
|
|
classifiers=[
|
|
"Programming Language :: Python :: 3",
|
|
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
|
"Operating System :: OS Independent",
|
|
]
|
|
packages = [
|
|
{ include = "djlint", from = "src" },
|
|
]
|
|
include = ["rules.yaml"]
|
|
[tool.black]
|
|
max_line_length = 99
|
|
quiet = true
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.7,<4.0"
|
|
click = "^8.0.1"
|
|
PyYAML = "^6.0"
|
|
colorama = "^0.4.4"
|
|
regex = "^2022.1.18"
|
|
tqdm = "^4.62.2"
|
|
tomli = { version = "^2.0.1", python = "<3.11" }
|
|
coverage = { version = "^6.3.1", optional = true }
|
|
pytest = { version = "^7.0.1", optional = true }
|
|
pytest-cov = { version = "^3.0.0", optional = true }
|
|
pathspec = "^0.9.0"
|
|
importlib-metadata = "^4.11.0"
|
|
html-void-elements = "^0.1.0"
|
|
html-tag-names = "^0.1.2"
|
|
jsbeautifier = "^1.14.4"
|
|
cssbeautifier = "^1.14.4"
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
black = "^22.1.0"
|
|
isort = "^5.9.3"
|
|
coverage = "^6.4.2"
|
|
pytest = "^7.1.2"
|
|
pytest-cov = "^3.0.0"
|
|
pytest-xdist = "^2.5.0"
|
|
|
|
[tool.poetry.scripts]
|
|
djlint = "djlint:main"
|
|
|
|
[tool.isort]
|
|
multi_line_output = 3
|
|
include_trailing_comma = true
|
|
force_grid_wrap = 0
|
|
use_parentheses = true
|
|
ensure_newline_before_comments = true
|
|
line_length = 99
|
|
quiet = true
|
|
|
|
[tool.pylint.messages_control]
|
|
disable = "E1120, R0914, E0401, R0912, R0916, R0913, W0104, R0801, W1404, R0902, R0903, R1732, R0915, C0301, R1702"
|