-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
98 lines (90 loc) · 2.2 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
[tool.poetry]
name = "drf-smart-filters"
version = "0.1.0"
homepage = "https://github.com/wccdev/drf-smart-filters"
description = "Skeleton project created by Cookiecutter PyPackage."
authors = ["Aiden Lu <[email protected]>"]
readme = "README.md"
license = "MIT"
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
]
packages = [
{ include = "drf_smart_filters" },
{ include = "tests", format = "sdist" },
]
[tool.poetry.dependencies]
python = ">=3.8.*,<4.0"
[tool.poetry.group.dev.dependencies]
tox = "^3.27.0"
pre-commit = "^2.19.0"
virtualenv = "^20.16.5"
pip = "^22.3.1"
twine = "^4.0.1"
toml = "^0.10.2"
commitizen = "^2.37.0"
[tool.poetry.group.test.dependencies]
black = "^22.10.0"
isort = "^5.10.1"
pytest = "^7.2.0"
pytest-cov = "^4.0.0"
mypy = "^0.990"
flake8 = "^5.0.4"
flake8-docstrings = "^1.6.0"
[tool.poetry.group.doc.dependencies]
mkdocs = ">=1.4.2"
jieba = ">=0.42.1"
mkdocs-material = ">=8.5.9"
mkdocstrings = { version=">=0.19.0", extras=["python"] }
mkdocs-awesome-pages-plugin = ">=2.8.0"
mkdocs-include-markdown-plugin = ">=3.9.1"
mkdocs-static-i18n = ">=0.50"
mkdocs-material-extensions = ">=1.1.1"
pymdown-extensions = ">=9.8"
pygments = ">=2.13.0"
[tool.black]
line-length = 88
skip-string-normalization = true
target-version = ['py38', 'py39', 'py310']
include = '\.pyi?$'
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 88
skip_gitignore = true
# you can skip files as below
#skip_glob = docs/conf.py
[tool.commitizen]
version = "0.1.0"
tag_format = "v$major.$minor.$patch$prerelease"
version_files = [
"pyproject.toml:version",
"demo_project/__init__.py"
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"