forked from unfoldadmin/django-unfold
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
105 lines (91 loc) · 2.42 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[tool.poetry]
name = "django-unfold"
version = "0.35.0"
description = "Modern Django admin theme for seamless interface development"
license = "MIT"
readme = "README.md"
authors = []
homepage = "https://unfoldadmin.com"
repository = "https://github.com/unfoldadmin/django-unfold"
packages = [{ include = "unfold", from = "src" }]
keywords = ["django", "admin", "tailwind", "theme"]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Framework :: Django",
]
[tool.poetry.dependencies]
python = ">=3.8"
django = ">=3.2"
[tool.poetry.group.test.dependencies]
pytest = "^7.3.1"
pytest-django = "^4.5.2"
tox = "^4.5.2"
[tool.poetry.group.dev.dependencies]
python-semantic-release = "^8.7.0"
[tool.ruff]
fix = true
line-length = 88
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"UP", # pyupgrade
]
ignore = [
"E501", # line too long, handled by black
"B905", # zip() without strict=True
"C901", # too complex
]
[tool.semantic_release]
tag_format = "{version}"
major_on_zero = true
version_toml = ["pyproject.toml:tool.poetry.version"]
[tool.semantic_release.changelog]
template_dir = ".github/templates"
exclude_commit_patterns = [
"chore: version bump",
"chore(deps)",
"chore(deps-dev)",
]
[tool.semantic_release.changelog.environment]
trim_blocks = true
lstrip_blocks = true
[tool.semantic_release.publish]
upload_to_vcs_release = false
[tool.pytest.ini_options]
addopts = """\
--strict-config
--strict-markers
--ds=example.settings
"""
pythonpath = "tests/server"
django_find_project = false
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = true
envlist =
python{38,39,310,311,312}-django{32,41,42,50,51}
[testenv]
skip_install = true
allowlist_externals = poetry
set_env =
PYTHONDEVMODE = 1
commands_pre = poetry install
commands = poetry run python -m pytest tests/
"""
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"