-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathpyproject.toml
86 lines (72 loc) · 1.78 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
[tool.poetry]
name = "drf-rw-serializers"
version = "1.4.0"
description = "Generic views, viewsets and mixins that extend the Django REST Framework ones adding separated serializers for read and write operations"
authors = ["Vinta Software <[email protected]>"]
license = "MIT"
readme = "README.rst"
[tool.poetry.urls]
"Homepage" = "https://github.com/vintasoftware/drf-rw-serializers"
"Documentation" = "https://drf-rw-serializers.readthedocs.io"
"Bug Tracker" = "https://github.com/vintasoftware/drf-rw-serializers/issues"
"Source" = "https://github.com/vintasoftware/drf-rw-serializers/"
"Changelog" = "https://github.com/vintasoftware/drf-rw-serializers/blob/main/CHANGELOG.rst"
[tool.poetry.dependencies]
python = "^3.8"
djangorestframework = "^3.14.0"
[tool.poetry.group.dev.dependencies]
django = "^4.2"
tox = "^4.15.0"
wheel = "^0.43.0"
docutils = "^0.20.1"
twine = "^5.1.0"
ruff = "^0.4.5"
prospector = "^1.10.3"
coverage = "^7.5.2"
[tool.poetry.group.test.dependencies]
pytest-cov = "^5.0.0"
pytest-django = "^4.8.0"
model-bakery = "^1.18.0"
pytest = "^8.2.1"
[tool.poetry.group.docs.dependencies]
django = "^4.2"
doc8 = "^1.1.1"
readme-renderer = "^43.0"
sphinx = "7.1.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
exclude = [
"env",
"venv",
".pyenv",
".pytest_cache",
"*/__pycache__/*",
"*/migrations/*",
"docs",
]
line-length = 100
target-version = "py38"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
[tool.ruff.lint]
extend-select = [
# isort
"I",
]
[tool.ruff.lint.isort.sections]
django = ["django"]
drf = ["rest_framework"]
[tool.ruff.lint.isort]
section-order = [
"future",
"standard-library",
"django",
"drf",
"third-party",
"first-party",
"local-folder",
]