djLint/pyproject.toml

74 lines
1.6 KiB
TOML
Raw Permalink 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.19.14"
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.poetry.dependencies]
python = "^3.7.2,<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" }
pathspec = "^0.11.0"
html-void-elements = "^0.1.0"
html-tag-names = "^0.1.2"
jsbeautifier = "^1.14.4"
cssbeautifier = "^1.14.4"
2021-09-08 09:52:16 +00:00
[tool.poetry.dev-dependencies]
black = "^23.0.0"
2021-09-08 09:52:16 +00:00
isort = "^5.9.3"
coverage = "^7.0.0"
pytest = "^7.1.2"
pytest-cov = "^4.0.0"
pytest-xdist = "^3.0.0"
pylint = "^2.14.5"
mypy = "^0.991"
types-PyYAML = "^6.0.11"
pep8-naming = "^0.13.1"
tox = "^4.0.0"
[tool.poetry.scripts]
djlint = "djlint:main"
2021-07-12 18:26:46 +00:00
2022-09-22 09:33:53 +00:00
[tool.black]
max_line_length = 99
quiet = true
2021-07-12 18:26:46 +00:00
[tool.isort]
profile = "black"
2021-07-12 18:26:46 +00:00
quiet = true
2021-07-23 20:58:24 +00:00
2022-09-22 09:33:53 +00:00
[tool.mypy]
ignore_missing_imports = 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"
2022-09-01 14:09:41 +00:00
[tool.pylint.TYPECHECK]
ignored-modules = "regex"