-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
89 lines (82 loc) · 2.24 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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "django-fsm-admin-lite"
version = "0.1.0"
description = "Integrate django-fsm state transitions into Django Admin."
authors = ["Matthieu Etchegoyen <[email protected]>"]
maintainers = ["Matthieu Etchegoyen <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/etchegom/django-fsm-admin-lite"
repository = "https://github.com/etchegom/django-fsm-admin-lite"
documentation = "https://github.com/etchegom/django-fsm-admin-lite"
keywords = ["django", "fsm"]
classifiers = [
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
packages = [
{ include = "fsm_admin_lite", from = "src" }
]
[tool.poetry.dependencies]
python = "^3.8"
django-fsm = "^2.8.1"
django = "^3.2 || ^4.0 || ^4.1 || ^4.2"
[tool.poetry.dev-dependencies]
black = "^22.8.0"
isort = "^5.10.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.0"
pytest-django = "^4.5.2"
[tool.black]
line-length = 100
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.venv
| build
| dist
)/
'''
skip-magic-trailing-comma = "false"
[tool.isort]
default_section = "FIRSTPARTY"
float_to_top = true
force_grid_wrap = 0
include_trailing_comma = true
known_third_party = [
"django",
"django_fsm",
]
line_length = 100
multi_line_output = 3
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
skip_glob = [".venv",]
use_parentheses = true
[tool.mypy]
python_version = "3.10"
implicit_reexport = false
show_error_codes = true
check_untyped_defs = true
disallow_untyped_calls = true
disallow_incomplete_defs = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_ignores = true