-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
92 lines (84 loc) · 1.46 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
package-dir = { "" = "src" }
[tool.mypy]
strict = true
warn_unused_configs = true
check_untyped_defs = true
follow_imports = "silent"
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
no_implicit_reexport = true
disallow_untyped_defs = true
[tool.ruff]
line-length = 120
target-version="py311"
src = ["src"]
include = ["src/**.py", "tests/**.py"]
lint.select = [
"ALL"
]
lint.ignore = [
"ARG",
"ANN",
"D",
"EM101",
"EM102",
"PT001",
"PT023",
"SIM108",
"SIM114",
"TRY003",
"PLW2901",
"RET505",
"PLR0913",
"S101",
"S608",
"SIM117",
"S105",
"FBT001",
"G004",
"PTH123",
"TRY400",
"PLR1722",
]
[tool.ruff.lint.per-file-ignores]
"tests/**" = [
"TID252",
"PLR2004",
"S101",
"S311",
"S105",
"S106",
]
[tool.ruff.lint.isort]
no-lines-before = ["local-folder"]
[project]
name = "myredis"
version = "0.0.0"
authors = [
{ name = "Sequew", email = "[email protected]" },
]
description = "My Redis powered by MyAsync"
requires-python = ">=3.11"
dependencies = [
"myasync@git+https://github.com/KrySeyt/myasync"
]
[project.optional-dependencies]
test = [
"pytest",
]
lint = [
"ruff",
]
types-checking = [
"mypy",
]
dev = [
"myredis[test, lint, types-checking]",
]
[project.urls]
"Homepage" = "https://github.com/KrySeyt/myredis"