-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
117 lines (101 loc) · 2.55 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
[tool.poetry]
name = "ya_tracker_client"
version = "0.0.3"
description = "Async Yandex Tracker Client"
authors = [
"Дмитрий Анфимов <work@danfimov.ru>",
]
maintainers = [
"Дмитрий Анфимов <work@danfimov.ru>",
]
keywords = [
"Yandex",
"Tracker",
"API",
"async",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Framework :: AsyncIO",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Typing :: Typed",
]
license = "MIT"
readme = "README.md"
packages = [{include = "ya_tracker_client"}]
repository = "https://github.com/danfimov/ya_tracker_client/"
exclude = [
"examples/"
]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/danfimov/ya_tracker_client/issues"
[[tool.poetry.source]]
name = "default-pypi"
url = "https://pypi.org/simple"
priority = "default"
[[tool.poetry.source]]
name = "yandex-pypi"
url = "https://pypi.yandex-team.ru/simple"
priority = "supplemental"
[tool.poetry.dependencies]
python = "^3.10"
aiohttp = "^3.8.5"
pydantic = ">= 1.10.12, < 3"
certifi = "^2023.7.22"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.2"
coverage = "^7.3.1"
pytest-asyncio = "^0.21.1"
pytest-cov = "^4.1.0"
ruff = "^0.0.287"
polyfactory = "^2.8.2"
gevent = "^23.9.1"
pre-commit = "^3.4.0"
[tool.poetry.group.examples.dependencies]
python-dotenv = "^1.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest]
python_files = "test_*.py"
python_classes = ["*Test", "Test*"]
python_functions = "test_*"
testpaths = "tests/"
[tool.coverage.report]
exclude_lines = [
"# pragma: no cover",
"def __repr__",
"def __str__",
"def __unicode__",
]
show_missing = true
skip_empty = true
omit = [
"*/__init__.py",
]
[tool.coverage.html]
directory = "pytest-cov-report"
[tool.coverage.run]
branch = true
concurrency = ['gevent']
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.ruff]
line-length = 120
select = ["W", "E", "F", "Q", "B", "I", "N", "ASYNC", "G", "RUF", "COM", "C90"]
ignore = []
target-version = "py311"
[tool.ruff.flake8-quotes]
docstring-quotes = "double"
[tool.ruff.mccabe]
# Unlike Flake8, default to a complexity level of 10.
max-complexity = 10
[tool.ruff.isort]
known-local-folder = ["ya_tacker_client"]
lines-after-imports = 2