-
Notifications
You must be signed in to change notification settings - Fork 25
/
pyproject.toml
66 lines (58 loc) · 1.97 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
[project]
name = "aiomoex"
version = "2.1.2"
description = "Asyncio MOEX ISS API"
authors = [
{ name = "Mikhail Korotkov aka WLMike", email = "wlmike@gmail.com" }
]
dependencies = [
"aiohttp",
]
readme = "README.rst"
requires-python = ">=3.10"
license = { text = "http://unlicense.org" }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = [
"pandas>=2.1.3",
"pyright>=1.1.337",
"pytest>=7.4.3",
"pytest-asyncio>=0.21.1",
"pytest-cov>=4.1.0",
"ruff>=0.1.6",
"sphinx>=7.2.6",
"aiohttp_theme>=0.1.6",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.pyright]
verboseOutput = true
pythonVersion = "3.10"
typeCheckingMode = "strict"
[tool.pytest.ini_options]
asyncio_mode = "auto"
addopts = "--cov-report=term-missing --setup-show --verbose"
[tool.coverage.run]
branch = true
[tool.ruff]
line-length = 120
select = ["ALL"]
fixable = ["ALL"]
fix = true
ignore = [
"ANN101", # Missing-type-self
"COM812", # Missing-trailing-comma - ruff format recommendations
"D203", # One-blank-line-before-class (D203) and no-blank-line-before-class (D211) are incompatible
"D213", # Multi-line-summary-first-line (D212) and multi-line-summary-second-line (D213) are incompatible
"EM101", # Exception must not use a string literal, assign to variable first - don't like many exceptions
"EM102", # Exception must not use an f-string literal, assign to variable first - don't like many exceptions
"ISC001", # Single-line-implicit-string-concatenation - ruff format recommendations
"PLR0913", # Too many arguments in function definition - required in this library
"RUF001", # Ambiguous-unicode-character-string - russian
"RUF002", # Ambiguous-unicode-character-docstring - russian
"RUF003", # Ambiguous-unicode-character-comment - russian
"TRY003", # Avoid specifying long messages outside the exception class - don't like many exceptions
]