-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (61 loc) · 1.76 KB
/
pyproject.toml
File metadata and controls
71 lines (61 loc) · 1.76 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
[project]
name = "sp"
version = "6.5"
description = "Platform for working with class schedules."
requires-python = ">=3.11"
authors = [{ name = "Milinuri Nirvalen", email = "pentergust@mail.ru" }]
license = "GPL-3.0-or-later"
readme = "README.md"
# TODO: Migrate to aiosqlite
# TODO: Migrate to orjson
dependencies = [
"aiohttp>=3.12.15",
"click>=8.2.1",
"loguru>=0.7.3",
"openpyxl>=3.1.5",
"requests>=2.32.5",
"tortoise-orm>=0.25.1",
"ujson>=5.11.0",
]
# Версия проекта -------------------------------------------------------
[tool.sp]
version = "v6.5"
build = 267
api_version = 7
# Other dependencies ---------------------------------------------------
[dependency-groups]
dev = ["pyright>=1.1.404", "ruff>=0.12.11"]
docs = [
"mkdocs>=1.6.1",
"mkdocs-material>=9.6.18",
"mkdocstrings-python>=1.18.2",
]
telegram = ["aiogram>=3.22.0", "python-dotenv>=1.1.1"]
# Ruff linter ----------------------------------------------------------
[tool.ruff]
line-length = 80
indent-width = 4
target-version = "py311"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"D407",
"D107",
"D213",
"D203",
"RUF",
"COM", # trailing commas, controlled by format
"EM101", # EAssign to variable; remove string literal
"EM102", # Exception must not use an f-string literal, assign to variable first
"TRY003", # Avoid specifying long messages outside the exception class
"INP001", # part of an implicit namespace package. Add an `__init__.py`.
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
# Build system ---------------------------------------------------------
[build-system]
requires = ["hatchling >= 1.26"]
build-backend = "hatchling.build"