-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
97 lines (85 loc) · 2.51 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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "drf-base64-binaryfield"
version = "1.1.0"
description = "Support for base64-encoded binary data in django rest framework serializers"
authors = ["Storm Heg <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/Stormheg/drf-base64-binaryfield"
repository = "https://github.com/Stormheg/drf-base64-binaryfield"
documentation = "https://drf-base64-binaryfield.readthedocs.io"
packages = [{ include = "drf_base64_binaryfield", from = "src" }]
# Explicitly include the compiled translations in the package, as they are gitignored
include = ["src/drf_base64_binaryfield/locale/**/django.mo"]
classifiers = [
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Development Status :: 5 - Production/Stable",
]
[tool.poetry.urls]
Changelog = "https://github.com/Stormheg/drf-base64-binaryfield/releases"
[tool.poetry.dependencies]
python = ">=3.9,<4.0"
django = ">=3.2"
djangorestframework = ">=3.14"
[tool.poetry.dev-dependencies]
Pygments = ">=2.10.0"
bandit = ">=1.7.4"
black = ">=21.10b0"
coverage = { extras = ["toml"], version = ">=6.2" }
darglint = ">=1.8.1"
flake8 = ">=4.0.1"
flake8-bugbear = ">=21.9.2"
flake8-docstrings = ">=1.6.0"
flake8-rst-docstrings = ">=0.2.5"
furo = ">=2023.9.10"
isort = ">=5.10.1"
nox = ">=2023.4.22"
nox-poetry = ">=1.0.3"
pep8-naming = ">=0.12.1"
pre-commit = ">=3.5.0"
pre-commit-hooks = ">=4.1.0"
pytest = ">=7.4.2"
pytest-cov = ">=4.1.0"
pytest-django = ">=4.5.2"
pyupgrade = ">=2.29.1"
safety = ">=1.10.3"
sphinx = ">=7.2.6"
sphinx-autobuild = ">=2021.3.14"
xdoctest = { extras = ["colors"], version = ">=0.15.10" }
myst-parser = { version = ">=0.16.1" }
[tool.black]
line-length = 120
target-version = ["py38", "py39", "py310", "py311"]
force-exclude = '''
(
.nox
)
'''
[tool.coverage.paths]
source = ["src", "*/site-packages"]
tests = ["tests", "*/tests"]
[tool.coverage.run]
branch = true
source = ["src", "tests"]
[tool.coverage.report]
show_missing = true
fail_under = 100
omit = [".nox/*", "tests/*", "**/migrations/*", "**/__init__.py"]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "tests.settings"
python_files = ["*test_*.py", "*_test.py", "tests/*.py"]
log_cli = true
log_cli_level = "INFO"
[tool.isort]
profile = "black"
force_single_line = true
lines_after_imports = 2
extend_skip = [".nox"]