-
Notifications
You must be signed in to change notification settings - Fork 13
/
pyproject.toml
86 lines (76 loc) · 1.79 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 = "djet"
version = "0.0.0" # placeholder, version governed by plugin
description = "Set of helpers for easy testing of Django apps."
authors = ["Sunscrapers <[email protected]>"]
license = "MIT"
readme = "README.rst"
documentation = "https://djet.readthedocs.io/"
repository = "https://github.com/sunscrapers/djet"
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Testing'
]
[tool.poetry.dependencies]
python = "^3.6.2"
djangorestframework = {version = "^3.12.4", optional = true}
Pillow = "^8.3.1"
pytest = {version = "^6.2.4", optional = true}
codecov = {version = "^2.1.11", optional = true}
coverage = {version = "^5.5", optional = true}
pytest-cov = {version = "^2.12.1", optional = true}
pytest-django = {version = "^4.4.0", optional = true}
[tool.poetry.dev-dependencies]
tox = "^3.23.1"
pre-commit = "^2.13.0"
black = "^21.6b0"
isort = "^5.8.0"
ipdb = "^0.13.9"
flake8 = "^3.9.2"
[tool.poetry.extras]
test = [
"pytest",
"codecov",
"coverage",
"pytest-cov",
"pytest-django",
]
[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.poetry-version-plugin]
source = "init"
[tool.isort]
profile="black"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"