-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (90 loc) · 2.17 KB
/
pyproject.toml
File metadata and controls
100 lines (90 loc) · 2.17 KB
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
[tool.poetry]
name = "iikocloudapi"
version = "0.4.0"
description = "iikoCloud API async client"
authors = ["Deni Tazurkaev <sha256deni@gmail.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/ZeroFlowTech/iikocloudapi"
repository = "https://github.com/ZeroFlowTech/iikocloudapi"
keywords = [
"iiko",
"iikocloud",
"iiko-cloud",
"iiko-api",
"iikocloudapi",
"iiko-cloud-api",
"async",
"asyncio",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
packages = [{ "include" = "iikocloudapi" }]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/ZeroFlowTech/iikocloudapi/issues"
[tool.poetry.dependencies]
python = "^3.11"
pydantic = "^2.11.5"
httpx = "^0.28.1"
orjson = "^3.10.18"
[tool.poetry.group.dev.dependencies]
pyright = "^1.1.401"
ruff = "^0.11.0"
pytest = "^8.4.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = [
"ALL", # include all the rules, including new ones
]
ignore = [
"COM812", "ISC001", # for ruff formatter
"ANN001", # for default=True like vars
"ANN201", # for handlers return
"ANN204", # for __init__ return None
"ANN401", # for Any
"EM101", "TRY003", # for strings in exceptions
"D", "TD", "FIX", # for TODOs
"ERA", # for commented code
"RET502", # for return without None
"RET503", # for function without return
"RUF001", # for cyrillic
"EM102", # ignore f-string literal in exceptions
"FA102",
]
[tool.ruff.lint.per-file-ignores]
"iikocloudapi/api.py" = [
"N801",
"N816",
]
"iikocloudapi/modules/*" = [
"FBT001",
"FBT002",
"PLR0913",
]
"iikocloudapi/helpers.py" = [
"PGH003",
]
"tests/*" = [
"ANN201",
"INP001",
"D100",
"D103",
"S101",
"S105",
"E501",
]