forked from vikingco/django-states2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
105 lines (93 loc) · 2.44 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "pivotal-django-states"
dynamic = ["version"]
description = "State machine for django models"
readme = "README.md"
requires-python = ">=3.11"
authors = [
{ name = "Pivotal Energy Solutions", email = "steve@pivotal.energy" },
]
keywords = [
"django",
"state-machine",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 5.0",
"Intended Audience :: Developers",
"License :: Other/Proprietary License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Utilities",
]
dependencies = [
"Django>=5.0",
"six"
]
[project.optional-dependencies]
test = [
"django-environ",
"mysqlclient",
"coverage",
"pre-commit",
"black",
"bandit",
"ruff"
]
[project.urls]
Issues = "https://github.com/pivotal-energy-solutions/django-states2/issues"
Download = "https://github.com/pivotal-energy-solutions/django-states2/archive/1.7.30.tar.gz"
Homepage = "https://github.com/pivotal-energy-solutions/django-states2"
"Original Source" = "https://github.com/vikingco/django-states2"
Thanks = "https://saythanks.io/to/rh0dium"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.targets.sdist]
include = [
"/django_states",
]
[tool.hatch.build.targets.wheel]
packages = ['django_states']
include = [
"/django_input_collection/templates/**/*",
]
[tool.black]
line-length = 100
target-version = ['py311']
include = '\.pyi?$'
exclude = '(\.git|.venv|_build|build|dist|.*\/__pycache__\/)'
[tool.ruff]
line-length = 100
lint.ignore = ["F401"]
[tool.bandit]
targets = ['django_states']
exclude_dirs = ["django_states/tests", "demo_app"]
skips = ["B101"]
[tool.coverage.run]
branch = true
command_line = "demo_app/manage.py test --noinput --settings=demo_app.settings_test django_states.tests"
omit = [
"*/demo_app/**",
"*/migrations/*",
"*/tests/**",
]
[tool.coverage.report]
fail_under = 87
precision = 1
skip_covered = true
skip_empty = true
ignore_errors = true
sort = "cover"
[tool.bumper]
exclude = [".idea", ".github", "demo_app"]
version_files = ["django_states/__init__.py"]
repo = "pivotal-energy-solutions/django-states2"
report = "out.json"