forked from sunscrapers/djoser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
115 lines (98 loc) · 2.45 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[tool.poetry]
name = "djoser"
version = "2.1.0"
description = "REST implementation of Django authentication system."
authors = [
"Sunscrapers <[email protected]>",
]
maintainers = [
"Tomasz Wójcik <[email protected]>",
"Dominik Kozaczko <[email protected]>",
]
license = "MIT"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
repository = "https://github.com/sunscrapers/djoser"
documentation = "https://djoser.readthedocs.io/"
readme = "README.rst"
include = ["djoser/locale/**/*.mo"]
[tool.poetry.dependencies]
python = "^3.6.1"
importlib-metadata = {version = "^1.0", python = "<3.8"}
djangorestframework-simplejwt = "^4.3.0"
django-templated-mail = "^1.1.1"
social-auth-app-django = "^4.0.0"
coreapi = "^2.3.3"
asgiref = "^3.2.10"
pytest = {version = "^6.0.2", optional=true}
codecov = {version="^2.0.16", optional=true}
coverage = {version="^5.3", optional=true}
pytest-cov = {version="^2.10.1", optional=true}
pytest-django = {version="^3.10.0", optional=true}
pytest-pythonpath = {version="^0.7.3", optional=true}
djet = {version="^0.2.2", optional=true}
[tool.poetry.dev-dependencies]
pre-commit = "^2.7.1"
tox = "^3.20.0"
babel = "^2.8.0"
black = "^20.8b1"
[tool.poetry.extras]
test = [
"pytest",
"codecov",
"coverage",
"pytest-cov",
"pytest-django",
"pytest-pythonpath",
"djet",
]
[tool.black]
line-length = 88
target-version = ['py36']
include = '\.pyi?$'
exclude = '''
(
/(
\.cache
| \.eggs
| \.git
| \.hg
| \.mypy_cache
| \.pytest_cache
| \.tox
| \.venv
| __pycache__
| _build
| buck-out
| build
| dist
| docs
| migrations
)/
)
'''
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
minversion = "6.0"
DJANGO_SETTINGS_MODULE = "testproject.settings"
python_paths = "testproject"
[tool.pylint.messages_control]
disable = "C0330, C0326"
[tool.pylint.format]
max-line-length = "88"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"