File: pyproject.toml

package info (click to toggle)
python-django-object-actions 5.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 296 kB
  • sloc: python: 738; makefile: 64; sh: 6
file content (78 lines) | stat: -rw-r--r-- 2,007 bytes parent folder | download
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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "django-object-actions"
version = "5.0.0"
description = "A Django app for adding object tools for models in the admin"
authors = [{ name = "crccheck", email = "c@crccheck.com" }]
license = { text = "Apache-2.0" }
readme = "README.md"
keywords = ["django", "admin"]
requires-python = ">=3.9"
classifiers = [
  "Development Status :: 5 - Production/Stable",
  "Framework :: Django",
  "Intended Audience :: Developers",
  "License :: OSI Approved :: Apache Software License",
  "Operating System :: OS Independent",
  "Programming Language :: Python :: 3",
  "Programming Language :: Python :: 3.9",
  "Programming Language :: Python :: 3.10",
  "Programming Language :: Python :: 3.11",
  "Programming Language :: Python :: 3.12",
  "Programming Language :: Python :: 3.13",
]

[project.urls]
"Homepage" = "https://github.com/crccheck/django-object-actions"

[project.optional-dependencies]
dev = [
  "coverage==7.*",
  "django-extensions==3.*",
  "factory-boy==3.*",
  "dj-database-url==2.*",
  "ruff",
]
build = ["build", "twine"]

[tool.setuptools.packages.find]
exclude = ["example_project*"]

[tool.setuptools.package-data]
"django_object_actions.templates.django_object_actions" = ["*.html"]

[tool.semantic_release]
version_toml = ["pyproject.toml:project.version"]
version_variables = ["django_object_actions/__init__.py:__version__"]
build_command = "pip install -e '.[build]' && python -m build"

[tool.coverage.run]
source = ["django_object_actions"]
omit = ["*/tests/*"]
branch = true

[tool.coverage.report]
exclude_lines = [
  "pragma: no cover",
  "__repr__",
  "__unicode__",
  "raise NotImplementedError",
]

[tool.ruff]

[tool.ruff.lint]
extend-select = [
  "A",   # flake8-builtins
  "B",   # flake8-bugbear
  "G",   # flake8-logging-format
  "I",   # isort
  "N",   # pep8-naming
  "RET", # flakes8-return
  "RUF", # Ruff-specific rules
  "UP",  # pyupgrade
]
ignore = ["RUF012"]