-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpyproject.toml
111 lines (95 loc) · 2.61 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
[tool.poetry]
name = "rtbhouse-sdk"
version = "14.2.0"
description = "RTB House SDK"
authors = ["RTB House Apps Team <[email protected]>"]
license = "BSD License"
readme = "README.rst"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
repository = "https://github.com/rtbhouse-apps/rtbhouse-python-sdk"
[[tool.poetry.source]]
name = "PyPI"
priority = "primary"
[tool.poetry.dependencies]
python = ">=3.9, <4.0"
httpx = "^0.28.0"
pydantic = ">=1.9, <3.0"
[tool.poetry.group.dev.dependencies]
pydantic = "^2.0.0" # required for tests
black = "^25.0.0"
flake8 = "^7.0.0"
isort = "^6.0.0"
mypy = "^1.0"
pylint = "^3.0.0"
pytest = "^8.0.0"
pytest-asyncio = "^0.25.0"
pytest-cov = "^6.0.0"
respx = "^0.22.0"
[tool.black]
line-length = 120
target-version = ["py39", "py310", "py311", "py312", "py313"]
[tool.coverage.run]
branch = true
omit = ["*/tests/*"]
[tool.coverage.report]
show_missing = true
[tool.isort]
line_length = 120
profile = "black"
[tool.mypy]
python_version = "3.9"
strict = true
plugins = ["pydantic.mypy"]
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = false
warn_untyped_fields = true
[tool.pylint.main]
py-version = "3.9"
load-plugins = """
pylint.extensions.check_elif,
pylint.extensions.confusing_elif,
pylint.extensions.consider_ternary_expression,
pylint.extensions.empty_comment,
pylint.extensions.eq_without_hash,
pylint.extensions.for_any_all,
pylint.extensions.redefined_loop_name,
pylint.extensions.redefined_variable_type,
pylint.extensions.set_membership,
pylint.extensions.typing,
"""
[tool.pylint.format]
max-line-length = "120"
[tool.pylint.message_control]
enable = "all"
disable = """
duplicate-code,
invalid-name,
locally-disabled,
missing-class-docstring,
missing-function-docstring,
suppressed-message,
too-many-positional-arguments,
use-implicit-booleaness-not-comparison-to-zero,
use-implicit-booleaness-not-comparison,
"""
extension-pkg-whitelist = "pydantic"
[tool.pytest.ini_options]
addopts = "--cov=rtbhouse_sdk/ --cov-report=term"
asyncio_mode = "auto"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"