2024-09-06 15:05:26 +03:00
|
|
|
[project]
|
|
|
|
name = "cookiecutter-django"
|
2024-11-22 05:30:53 +03:00
|
|
|
version = "2024.11.21"
|
2024-09-06 15:05:26 +03:00
|
|
|
description = "A Cookiecutter template for creating production-ready Django projects quickly."
|
|
|
|
readme = "README.md"
|
|
|
|
keywords = [
|
|
|
|
"cookiecutter",
|
|
|
|
"django",
|
|
|
|
"project template",
|
|
|
|
"scaffolding",
|
|
|
|
"skeleton",
|
2023-04-15 17:43:04 +03:00
|
|
|
]
|
2024-09-06 15:05:26 +03:00
|
|
|
license = { text = "BSD" }
|
|
|
|
authors = [
|
|
|
|
{ name = "Daniel Roy Greenfeld", email = "pydanny@gmail.com" },
|
|
|
|
]
|
2024-10-12 19:46:45 +03:00
|
|
|
requires-python = ">=3.12,<3.13"
|
2024-09-06 15:05:26 +03:00
|
|
|
classifiers = [
|
|
|
|
"Development Status :: 4 - Beta",
|
|
|
|
"Environment :: Console",
|
|
|
|
"Framework :: Django :: 5.0",
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"License :: OSI Approved :: BSD License",
|
|
|
|
"Natural Language :: English",
|
|
|
|
"Programming Language :: Python",
|
|
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
|
|
"Programming Language :: Python :: 3.12",
|
|
|
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
|
|
"Topic :: Software Development",
|
|
|
|
]
|
2024-09-05 22:24:46 +03:00
|
|
|
dependencies = [
|
|
|
|
"binaryornot==0.4.4",
|
|
|
|
"cookiecutter==2.6",
|
|
|
|
"django-upgrade==1.21",
|
|
|
|
"djlint==1.35.2",
|
|
|
|
"gitpython==3.1.43",
|
|
|
|
"jinja2==3.1.4",
|
|
|
|
"pre-commit==3.8",
|
|
|
|
"pygithub==2.4",
|
|
|
|
"pytest==8.3.3",
|
|
|
|
"pytest-cookies==0.7",
|
|
|
|
"pytest-instafail==0.5",
|
|
|
|
"pytest-xdist==3.6.1",
|
|
|
|
"pyyaml==6.0.2",
|
|
|
|
"requests==2.32.3",
|
2024-10-17 23:29:12 +03:00
|
|
|
"ruff==0.7",
|
2024-09-05 22:24:46 +03:00
|
|
|
"sh==2.0.7; sys_platform!='win23'",
|
|
|
|
"tox==4.21.2",
|
|
|
|
"tox-uv>=1.11.2",
|
|
|
|
]
|
2024-10-31 22:57:08 +03:00
|
|
|
urls = { Repository = "https://github.com/cookiecutter/cookiecutter-django" }
|
|
|
|
|
|
|
|
[dependency-groups]
|
|
|
|
docs = [
|
2024-10-07 21:43:09 +03:00
|
|
|
"myst-parser>=4",
|
|
|
|
"sphinx>=8.0.2",
|
|
|
|
"sphinx-autobuild>=2024.10.3",
|
|
|
|
"sphinx-rtd-theme>=3",
|
|
|
|
]
|
2023-04-15 17:43:04 +03:00
|
|
|
|
|
|
|
[tool.black]
|
|
|
|
line-length = 119
|
2024-09-06 15:05:26 +03:00
|
|
|
target-version = [
|
|
|
|
'py312',
|
|
|
|
]
|
2024-10-07 13:12:25 +03:00
|
|
|
|
2023-04-15 17:43:04 +03:00
|
|
|
# ==== isort ====
|
2024-09-06 15:05:26 +03:00
|
|
|
|
2023-04-15 17:43:04 +03:00
|
|
|
[tool.isort]
|
|
|
|
profile = "black"
|
|
|
|
line_length = 119
|
|
|
|
known_first_party = [
|
2024-09-06 15:05:26 +03:00
|
|
|
"tests",
|
|
|
|
"scripts",
|
|
|
|
"hooks",
|
2023-04-15 17:43:04 +03:00
|
|
|
]
|
2023-06-28 00:52:36 +03:00
|
|
|
|
2024-09-05 22:24:46 +03:00
|
|
|
# ==== pytest ====
|
2024-09-06 15:05:26 +03:00
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
addopts = "-v --tb=short"
|
|
|
|
norecursedirs = [
|
|
|
|
".tox",
|
|
|
|
".git",
|
|
|
|
"*/migrations/*",
|
|
|
|
"*/static/*",
|
|
|
|
"docs",
|
|
|
|
"venv",
|
|
|
|
"*/{{cookiecutter.project_slug}}/*",
|
|
|
|
]
|
|
|
|
|
2024-09-05 22:24:46 +03:00
|
|
|
# ==== djLint ====
|
2024-09-06 15:05:26 +03:00
|
|
|
|
2023-06-28 00:52:36 +03:00
|
|
|
[tool.djlint]
|
|
|
|
blank_line_after_tag = "load,extends"
|
|
|
|
close_void_tags = true
|
|
|
|
format_css = true
|
|
|
|
format_js = true
|
|
|
|
# TODO: remove T002 when fixed https://github.com/Riverside-Healthcare/djLint/issues/687
|
|
|
|
ignore = "H006,H030,H031,T002,T028"
|
|
|
|
ignore_blocks = "raw"
|
|
|
|
include = "H017,H035"
|
|
|
|
indent = 2
|
|
|
|
max_line_length = 119
|
|
|
|
profile = "jinja"
|
|
|
|
|
|
|
|
[tool.djlint.css]
|
|
|
|
indent_size = 2
|
|
|
|
|
|
|
|
[tool.djlint.js]
|
|
|
|
indent_size = 2
|