-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpyproject.toml
91 lines (82 loc) · 2.01 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
[tool.poetry]
name = "tg-react"
version = "3.1.0"
description = "Helpers for react based applications running on django."
authors = [
"Thorgate <code@thorgate.eu>",
"Jyrno Ader <jyrno@thorgate.eu>",
"Jorgen Ader <jorgen@thorgate.eu>",
]
license = "BSD"
homepage = "https://github.com/thorgate/tg-react"
repository = "https://github.com/thorgate/tg-react"
readme = "README.md"
packages = [
{ include = "tg_react" },
]
include = [
"tg_react/**/*.txt",
"tg_react/**/*.html",
"tg_react/**/*.mo",
"tg_react/**/*.po"
]
keywords = ["tg-react", "thorgate", "rest", "drf"]
classifiers = [
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
]
[tool.poetry.dependencies]
django = ">=2.2, <4.2"
djangorestframework = ">=3.9.2"
python = ">=3.7,<4"
[tool.poetry.dev-dependencies]
pytest = "==7.*"
coverage = "*"
coveralls = "*"
pytest-cov = "*"
pytest-django = "*"
pytest-xdist = "*"
model-bakery = "*"
black = "==22.3.0"
prospector = "*"
sphinx = "==3.*"
tox = "*"
tox-poetry = "*"
tox-gh-actions = "*"
example = { path = "./demo", develop = true }
[build-system]
requires = ["poetry-core>=1.1.0"]
build-backend = "poetry.core.masonry.api"
[tool.flake8]
max-line-length = 140
require-code = true
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "dummy_settings"
django_find_project = "false"
python_files = "tests/*.py tests/**/*.py"
norecursedirs = "venv* dist* htmlcov* example* .tox*"
addopts = "--capture=no -n auto"
[tool.black]
line-length = 88
include = '\.pyi?$'
exclude = '''
(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| dist
| docs
)
'''