forked from Qu4tro/django-ufilter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
87 lines (78 loc) · 2.27 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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "django-ufilter"
version = "0.4.0"
license = "MIT"
include = ["AUTHORS.md", "CHANGELOG.md", "docs"]
description = "django-ufilter provides a safe way to filter data."
authors = ["Miroslav Shubernetskiy <[email protected]>"]
maintainers = ["Xavier Francisco <[email protected]>"]
repository = "https://github.com/Qu4tro/django-ufilter"
keywords = ["django", "django-rest-framework"]
classifiers=[
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Development Status :: 2 - Pre-Alpha",
]
readme = "README.rst"
[tool.poetry.dependencies]
python = ">=3.7,<4.0"
django = [
{version = "^4", python = ">=3.8"},
{version = "^3.2", python = "<=3.9"},
]
cached-property = "^1.5.2"
[tool.poetry.dev-dependencies]
bpython = "^0.22.1"
pdbpp = "^0.10.3"
isort = "^5.10.1"
black = "^22.3.0"
django-extensions = "^3.1.5"
djangorestframework = "^3.13.1"
pytz = "^2022.1" # Already required by djangorestframework, but not included due to some weird poetry bug
django-debug-toolbar = "^3.4.0"
mock = "^4.0.3"
pytest = "^7.1.2"
pytest-cov = "^3.0.0"
pytest-django = "^4.5.2"
flake8 = "^4.0.1"
flake8-bugbear = "^22.4.25"
flake8-comprehensions = "^3.8.0"
tox = "^3.25.0"
pre-commit = "^2.19.0"
pre-commit-hooks = "^4.2.0"
sphinx = "~4.3.0"
sphinx-autobuild = "^2021.3.14"
sphinx-rtd-theme = "^1.0.0"
bumpver = "^2022.1116"
sphinx_mdinclude = "^0.5.1"
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "test_project.settings"
addopts = "-sv --doctest-modules --cov=django_ufilter --cov-report=term-missing:skip-covered"
testpaths = [
"tests",
"django_ufilter",
]
[tool.bumpver]
current_version = "0.4.0"
version_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]"
commit_message = "Bump version {old_version} -> {new_version}"
commit = true
tag = true
push = true
[tool.bumpver.file_patterns]
"pyproject.toml" = [
'version = "{pep440_version}"',
]
"django_ufilter/__init__.py" = [
'__version__ = "{pep440_version}"',
]