-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
87 lines (81 loc) · 2.43 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
[tool.poetry]
name = "django-rest-tsg"
version = "0.1.10"
license = "MIT"
description = "A typescript code generator for Django Rest Framework."
readme = "README.rst"
repository = "https://github.com/jinkanhq/django-rest-tsg"
authors = ["Yinian Chin <[email protected]>"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
include = ["README.rst", "CHANGELOG.rst", "LICENSE"]
[tool.poetry.dependencies]
python = "^3.9.0"
django = [
{ version = ">=3.0, <5.0", python = ">= 3.9.0, <3.10" },
{ version = ">=3.0, <6.0", python = "^3.10.0" },
]
djangorestframework = "^3.13"
djangorestframework-dataclasses = "^1.3.0"
inflection = "^0.5.1"
[tool.poetry.dev-dependencies]
pytest = "^6.2.5"
pytest-django = "^4.4.0"
pytest-cov = "^3.0.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.tox]
legacy_tox_ini = """
[tox]
isolated_build = true
envlist = py{39,310}-django{32}-drf{313,314}
py{39,310,311}-django{40}-drf{313,314}
py{39,310,311}-django{41,42}-drf{314}
py{310,311,312}-django{50}-drf{314,315}
[gh-actions]
python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
[testenv]
deps =
pytest>=6.2.5
pytest-django>=4.4.0
pytest-cov>=3.0
djangorestframework-dataclasses>=1.3.0
inflection>=0.5.1
django32: Django>=3.2,<3.3
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
django42: Django>=4.2,<4.3
django50: Django>=5.0,<5.1
drf313: djangorestframework>=3.13,<3.14
drf314: djangorestframework>=3.14,<3.15
drf315: djangorestframework>=3.15,<3.16
allowlist_externals = poetry
commands =
poetry run pytest --cov=./ --cov-report=xml
"""