-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
65 lines (53 loc) · 1.21 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
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project]
name = "cyberbot"
version = "0.1.0"
license = { file = "LICENSE" }
maintainers = [
{ name = "Jonas Jelten", email = "[email protected]" },
{ name = "Leo Fahrbach", email = "[email protected]" },
]
readme = "README.md"
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT",
]
# 3.12 for sqlite autocommit; argparse exit_on_error cpython#121018
requires-python = ">=3.12.5"
dependencies = [
"matrix-nio[e2e]",
"aiohttp",
"imagesize",
"pydantic >= 2.0, < 3.0",
"PyYAML",
]
[project.urls]
Source = "https://github.com/SFTtech/cyberbot"
[project.scripts]
compass = "cyberbot.main:main"
[tool.pdm.dev-dependencies]
lint = [
"isort",
"mypy",
"pyflakes",
"pytest",
"pylsp-mypy",
"python-lsp-ruff",
"ruff",
]
[tool.pdm.scripts]
cyberbot = {call = "cyberbot.main:main"}
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = ["I", "F", "E", "PL"]
ignore = ["PLR0913", "E722", "PLR0911"]
[tool.mypy]
ignore_missing_imports = true
check_untyped_defs = true
pretty = true
plugins = ["pydantic.mypy"]