-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
172 lines (158 loc) · 4.6 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
[build-system]
requires = ["setuptools>=61.2", "vstcompile~=3.0", "cython~=3.0.11", "setuptools-rust~=1.10.2"]
build-backend = "setuptools.build_meta"
[project]
name = "vstutils"
authors = [
{ name = "Sergei Kliuikov", email = "[email protected]" },
{ name = "Dmitriy Ovcharenko ", email = "[email protected]" },
]
maintainers = [
{ name = "VST Consulting", email = "[email protected]" }
]
keywords = ["spa", "vue", "pwa", "framework", "openapi", "oauth2"]
license = {text = "Apache License 2.0" }
description = "VST Utils Framework for fast create web-application"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Celery",
"Framework :: Django",
"Framework :: Django :: 5.1",
"Framework :: Pydantic :: 2",
"Operating System :: POSIX",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: User Interfaces",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: User Interfaces",
"Topic :: Utilities",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Typing :: Typed",
]
requires-python = ">=3.10"
dynamic = ["version", "dependencies", "optional-dependencies"]
[project.urls]
"Issue Tracker" = "https://gitlab.com/vstconsulting/vstutils/issues"
Source = "https://gitlab.com/vstconsulting/vstutils"
Releases = "https://pypi.org/project/vstutils/#history"
Documentation = "https://vstutils.vstconsulting.net/"
[project.readme]
file = "README.rst"
content-type = "text/x-rst"
[project.scripts]
vstutilsctl = "vstutils.__main__:cmd_execution"
[tool.setuptools]
zip-safe = false
include-package-data = true
license-files = ["LICENSE", "NOTICE"]
[tool.setuptools.dynamic]
version = { attr = "vstutils.__version__" }
[tool.setuptools.packages.find]
include = ['vstutils', 'vstutils.*']
namespaces = false
[tool.flake8]
ignore = "E221,E222,E121,E123,E126,E226,E24,E704,E116,E731,E722,E741,W504,B001,B008,B023,C812,C815,C414,CFQ004,B019,B026,I100"
exclude = "./vstutils/*/migrations/*,./vstutils/settings*.py,.tox/*,./*/__init__.py,./vstutils/projects/*,vstutils/__main__.py"
max-line-length = 120
import-order-style = 'pep8'
[tool.coverage.run]
# branch = true
source = [
'vstutils',
'test_proj',
]
parallel = true
concurrency = [
'thread',
'multiprocessing',
]
omit = [
'*.tox/*',
'*/management/commands/web.py',
'*/management/commands/web_worker.py',
'*/management/commands/_base.py',
'*ihsctl',
'*setup.py',
'test.py',
'upload_big.py',
'*/vstutils/__main__.py',
'*/vstutils/admin_urls.py',
'*/vstutils/celery_beat_scheduler.py',
'*/vstutils/wsgi.py',
'*/vstutils/api/admin.py',
'*/vstutils/drivers/*',
]
[tool.coverage.report]
fail_under = 100
show_missing = true
exclude_lines = [
'pragma: no cover',
'nocv',
'noprj',
'noce',
'raise NotImplementedError',
'if _t.TYPE_CHECKING:',
'if typing.TYPE_CHECKING:',
]
[tool.bandit]
exclude_dirs = [
'vstutils/tests.py',
]
skips = [
"B403",
"B404",
"B603",
"B303",
"B101",
"B110",
"B311",
]
[tool.mypy]
python_version = "3.10"
#strict = true
allow_redefinition = true
check_untyped_defs = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_unused_configs = true
disallow_untyped_decorators = true
implicit_reexport = true
show_error_codes = true
disable_error_code = "attr-defined,assignment,index,operator,arg-type,misc,call-overload,union-attr,valid-type,func-returns-value"
plugins = [
"mypy_django_plugin.main",
"mypy_drf_plugin.main",
]
[tool.django-stubs]
django_settings_module = "vstutils.settings"
[[tool.mypy.overrides]]
module = [
"django_celery_beat.*",
"drf_orjson_renderer.*",
"ldap.*",
"PIL.*",
"environ.*",
"ruamel.*",
"mysql.*",
"configparserc.*",
"kombu.*",
"tarantool.*",
"pywebpush.*",
"authlib.*",
"uvloop.*",
"htmlmin.*",
]
ignore_missing_imports = true