forked from django-commons/django-fsm-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
80 lines (71 loc) · 1.95 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
[tool.poetry]
name = "django-fsm"
version = "3.0.0"
description = "Django friendly finite state machine support."
authors = [
"Mikhail Podgurskiy <[email protected]>",
]
license = "MIT License"
readme = "README.md"
homepage = "http://github.com/pfouque/django-fsm-2"
repository = "http://github.com/pfouque/django-fsm-2"
documentation = "http://github.com/pfouque/django-fsm-2"
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'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',
'Topic :: Software Development :: Libraries :: Python Modules',
]
packages = [{ include = "django_fsm" }]
[tool.poetry.dependencies]
python = "^3.8"
django = ">=4.2"
[tool.poetry.group.graphviz.dependencies]
graphviz = "*"
[tool.poetry.group.dev.dependencies]
coverage = "*"
django-guardian = "*"
graphviz = "*"
pre-commit = "*"
pytest = "*"
pytest-cov = "^4.1.0"
pytest-django = "*"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.settings"
[tool.ruff]
line-length = 130
target-version = "py38"
fix = true
[tool.ruff.lint]
# select = ["ALL"]
extend-select = [
"F", # Pyflakes
"E", # pycodestyle
"W", # pycodestyle
"UP", # pyupgrade
"I", # isort
"PERF",
"RET",
"C",
# "B",
]
fixable = ["I"]
[tool.ruff.lint.isort]
force-single-line = true
required-imports = ["from __future__ import annotations"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"