-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
67 lines (60 loc) · 1.55 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
[build-system]
requires = ["setuptools>=63.0"]
build-backend = "setuptools.build_meta"
[project]
name = "masterofgames"
version = "5.1"
description = "Helps you get all the achievements from your games"
license = {text = "OSL-3.0"}
authors = [{name = "Saphyel"}]
requires-python = ">=3.11"
dependencies = [
"httpx<0.28",
"litestar[jinja]<2.12",
"pydantic-settings<2.6",
"uvicorn[standard]<0.31",
]
[project.optional-dependencies]
test = [
"mypy<1.12",
"pytest-asyncio<0.25",
"coverage<9.1",
"pytest<8.4",
"ruff<0.7",
]
[tool.setuptools.packages.find]
include = ["masterofgames"]
[tool.setuptools.dynamic]
readme = {file = ["README.md"]}
[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"]
select = ["F", "E", "W", "I001", "F401"]
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[lint.mccabe]
max-complexity = 10
[tool.ruff]
line-length = 120
exclude = ["build"]
[tool.mypy]
ignore_missing_imports = true
warn_no_return = false
warn_return_any = false
follow_imports = "skip"
strict_optional = true
exclude = [
"^build/"
]
[tool.pytest.ini_options]
cache_dir = "/tmp/cache"
[tool.coverage.run]
source = ["masterofgames"]
branch = true
command_line="-m pytest"
omit = [
"web.py",
"controllers.py",
]
data_file="/tmp/.coverage"
[tool.coverage.report]
skip_empty = true
show_missing = true