-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
126 lines (117 loc) · 1.72 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
118
119
120
121
122
123
124
125
126
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "project"
version = "0.1"
[tool.pyright]
include = ["**/lib"]
exclude = []
venvPath = "."
venv = "venv"
reportUnknownMemberType = "none"
reportUnknownParameterType = "none"
reportUnknownArgumentType = "none"
reportUnknownVariableType = "none"
reportMissingTypeArgument = "none"
reportMissingTypeStubs = "none"
reportUnusedExpression = "none"
reportUnknownLambdaType = "none"
reportIncompatibleMethodOverride = "none"
reportPrivateUsage = "none"
reportMissingParameterType = "error"
[tool.pytest.ini_options]
markers = [
"hex",
"dice",
"board",
"pieces",
"bank",
"game",
"player"
]
addopts = "--cov=lib --cov-report=html"
[tool.coverage.run]
source = ["lib"]
[tool.ruff]
exclude = [
".git",
"__pycache__",
"old,build",
"dist",
]
lint.ignore = [
"D102",
"ANN101",
"ANN401",
"N801",
"E203",
"E266",
"E501",
"E741",
"N803",
"N802",
"N806",
"D400",
"D401",
"D105",
"D415",
"D402",
"D205",
"D100",
"D101",
"D107",
"D213",
"ANN204",
"ANN102",
]
lint.select = ["D", "E", "F", "N", "ANN"]
lint.fixable = [
"A",
"B",
"C",
"D",
"E",
"F",
"G",
"I",
"N",
"Q",
"S",
"T",
"W",
"ANN",
"ARG",
"BLE",
"COM",
"DJ",
"DTZ",
"EM",
"ERA",
"EXE",
"FBT",
"ICN",
"INP",
"ISC",
"NPY",
"PD",
"PGH",
"PIE",
"PL",
"PT",
"PTH",
"PYI",
"RET",
"RSE",
"RUF",
"SIM",
"SLF",
"TCH",
"TID",
"TRY",
"UP",
"YTT",
]
lint.unfixable = []
[tool.hatch.build.targets.wheel]
packages = ["lib"]