djLint/pyproject.toml

68 lines
1.7 KiB
TOML
Raw Normal View History

2021-07-12 18:26:46 +00:00
[build-system]
requires = ["poetry_core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
2021-07-12 18:26:46 +00:00
[tool]
[tool.poetry]
name="djlint"
version="1.7.0"
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"]
2021-07-12 18:26:46 +00:00
[tool.black]
max_line_length = 99
quiet = true
[tool.poetry.dependencies]
python = "^3.7,<4.0"
click = "^8.0.1"
2021-11-11 00:12:49 +00:00
PyYAML = "^6.0"
colorama = "^0.4.4"
2022-01-24 15:43:22 +00:00
regex = "^2022.1.18"
tqdm = "^4.62.2"
tomli = { version = "^2.0.1", python = "<3.11" }
2022-02-06 01:13:00 +00:00
coverage = { version = "^6.3.1", optional = true }
2022-02-13 01:13:38 +00:00
pytest = { version = "^7.0.1", optional = true }
2022-01-24 15:43:22 +00:00
pytest-cov = { version = "^3.0.0", optional = true }
2021-10-29 08:42:39 +00:00
pathspec = "^0.9.0"
2022-02-13 01:13:38 +00:00
importlib-metadata = "^4.11.0"
html-void-elements = "^0.1.0"
html-tag-names = "^0.1.2"
2021-09-08 09:52:16 +00:00
[tool.poetry.dev-dependencies]
2022-01-30 01:05:11 +00:00
black = "^22.1.0"
2021-09-08 09:52:16 +00:00
isort = "^5.9.3"
[tool.poetry.extras]
test = ["coverage", "pytest", "pytest-cov"]
[tool.poetry.scripts]
djlint = "djlint:main"
2021-07-12 18:26:46 +00:00
[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
2021-07-23 20:58:24 +00:00
[tool.pylint.messages_control]
2021-10-06 13:06:42 +00:00
disable = "E1120, R0914, E0401, R0912, R0916, R0913, W0104, R0801, W1404, R0902, R0903, R1732, R0915, C0301, R1702"