-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
129 lines (118 loc) · 2.27 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
127
128
129
[tool.poetry]
name = "gamble"
version = "0.14.0"
description = "a collection of gambling classes/tools"
readme = "README.md"
authors = ["jacobi petrucciani <j@cobi.dev>"]
packages = [{ include = "gamble" }]
homepage = "https://github.com/jpetrucciani/gamble"
repository = "https://github.com/jpetrucciani/gamble"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"License :: OSI Approved :: MIT License",
]
[tool.poetry.dependencies]
python = ">= 3.10"
[tool.poetry.dev-dependencies]
black = ">= 24.3.0"
ptpython = ">= 3.0.26"
pytest = "^7.4.3"
pytest-cov = "^4.1.0"
pytest-xdist = "^3.5.0"
ruff = "^0.8.0"
# docs
sphinx = "^7.2.6"
sphinx-autoapi = "^3.0.0"
sphinx-autobuild = "^2021.3.14"
sphinx-autodoc-typehints = "^1.25.2"
sphinx-rtd-theme = "^2.0.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 100
target-version = ["py311"]
[tool.ruff]
line-length = 100
lint.select = [
"A",
"ANN",
"ARG",
"B",
"C4",
"D",
"E",
"F",
"ICN",
"ISC",
"N",
"PD",
"PGH",
"PLR",
"PLW",
"PIE",
"PT",
"Q",
"RET",
"RUF",
"S",
"SIM",
"TID",
"UP",
"W",
"YTT",
]
lint.ignore = [
"A001",
"A003",
"ANN401",
"B008",
"B019",
"C405",
"D107",
"D200",
"D203",
"D205",
"D212",
"D400",
"D403",
"D404",
"D415",
"E501",
"N818",
"PGH003",
"PGH004",
"PLR2004",
"PT012",
"RUF022",
"S101",
"S105",
"S108",
"S311",
"W605",
]
target-version = "py312"
exclude = [
".direnv",
".git",
".mypy_cache",
".pytest_cache",
".ruff_cache",
"__pypackages__",
]
[tool.ruff.lint.mccabe]
max-complexity = 30
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.mypy]
python_version = "3.12"
disallow_untyped_defs = true
ignore_missing_imports = true
[tool.pytest.ini_options]
filterwarnings = ["ignore::pytest.PytestConfigWarning"]