-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
77 lines (70 loc) · 2.46 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
[tool.poetry]
name = "django-oscar-odin"
version = "0.3.1"
description = "Odin Resources and mappings to Oscar models"
authors = ["Tim Savage <tim@savage.company>"]
maintainers = [
"Viggo de Vries <viggo@highbiza.nl>",
]
license = "BSD-3-Clause"
readme = "README.md"
packages = [{include = "oscar_odin"}]
repository = "https://github.com/django-oscar/oscar-odin"
keywords = ["data-structure", "validation", "data-mapping"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.1",
"Programming Language :: Python :: Implementation :: CPython",
]
[tool.poetry.dependencies]
python = "^3.8"
django-oscar = {version = "^4.0a1", allow-prereleases = true}
coverage = { version = "^7.3", optional = true }
pylint = { version = "^3.0.2", optional = true }
black = { version = "^23.11.0", optional = true }
pylint-django = { version = "^2.5.5", optional = true }
isort = {version = "^5.13.2", optional = true}
ruff = {version = "^0.1.8", optional = true}
poetry = {version = "^1.7.1", optional = true}
pre-commit = {version = "*", optional = true}
responses = {version = "^0.24.1", optional = true}
sorl-thumbnail = {version = "^12.8.0", optional = true}
odin = {version = "^2.10rc2", allow-prereleases = true}
setuptools = ">=67"
"vdt.versionplugin.wheel" = "^0.0.8"
[tool.poetry.extras]
test = [
"coverage", "pylint", "black", "pylint-django", "poetry", "responses",
"sorl-thumbnail", "vdt.versionplugin.wheel", "setuptools"
]
dev = ["ruff", "isort", "pre-commit"]
[tool.poetry.group.extras.dependencies]
django-oscar = {git = "https://github.com/django-oscar/django-oscar.git", allow-prereleases = true}
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
[tool.ruff]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
# Assume Python 3.8.
target-version = "py38"