-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
125 lines (102 loc) · 2.58 KB
/
setup.cfg
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
[metadata]
name = platform_monitoring
description = Neu.ro platform monitoring
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/neuro-inc/platform-monitoring
license = Apache 2
license_files = LICENSE
classifiers =
License :: OSI Approved :: Apache 2
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
[options]
packages = find:
install_requires =
aiobotocore==2.16.0
aiohttp[speedups]==3.10.9
cachetools==5.5.0
docker-image-py==0.1.13
elasticsearch<8.0.0
iso8601==2.1.0
neuro-auth-client==24.8.0
neuro-config-client==24.9.0
neuro-logging==24.4.0
neuro-sdk==22.7.1
orjson
trafaret==2.1.1
uvloop
python_requires = >=3.11
include_package_data = True
platforms = any
zip_safe = False
[options.entry_points]
console_scripts =
platform-monitoring-api = platform_monitoring.api:main
platform-monitoring-logs-compact = platform_monitoring.log_compact:main
[options.extras_require]
dev =
mypy
pre-commit
pytest==8.3.2
pytest-asyncio==0.21.2
pytest-cov==5.0.0
python-jose==3.3.0
ruff
types-cachetools
[flake8]
max-line-length = 88
ignore = N801,N802,N803,E252,W503,E133,E203,F541
[tool:pytest]
testpaths = tests
asyncio_mode = auto
filterwarnings =
error
ignore::DeprecationWarning:jose
ignore:Inheritance class AuthorizedSession from ClientSession is discouraged:DeprecationWarning:
ignore:ssl.PROTOCOL_TLS is deprecated:DeprecationWarning:
markers =
minikube
[coverage:run]
branch = True
source = platform_api
[mypy]
check_untyped_defs = True
disallow_any_generics = True
disallow_untyped_defs = True
follow_imports = silent
strict_optional = True
warn_redundant_casts = True
warn_unused_ignores = True
[mypy-aiohttp_security]
ignore_missing_imports = true
[mypy-aiohttp_security.api]
ignore_missing_imports = true
[mypy-async_exit_stack]
ignore_missing_imports = true
[mypy-async_generator]
ignore_missing_imports = true
[mypy-jose]
ignore_missing_imports = true
[mypy-neuro_auth_client.*]
ignore_missing_imports = true
[mypy-neuromation.*]
ignore_missing_imports = True
[mypy-pytest]
ignore_missing_imports = true
[mypy-_pytest.*]
ignore_missing_imports = true
[mypy-setuptools]
ignore_missing_imports = true
[mypy-docker_image.*]
ignore_missing_imports = true
[mypy-trafaret]
ignore_missing_imports = true
[mypy-aiobotocore.*]
ignore_missing_imports = true
[mypy-botocore.*]
ignore_missing_imports = true
[mypy-platform_config_client.*]
ignore_missing_imports = true
[mypy-iso8601]
ignore_missing_imports = true