forked from python-discord/sir-lancebot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
83 lines (72 loc) · 2.1 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
[tool.poetry]
name = "sir-lancebot"
version = "0.1.0"
description = "A Discord bot designed as a fun and beginner-friendly learning environment for writing bot features and learning open-source."
authors = ["Python Discord <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
python = "3.12.*"
# See https://bot-core.pythondiscord.com/ for docs.
pydis_core = { version = "11.3.1", extras = ["all"] }
rapidfuzz = "3.9.6"
arrow = "1.3.0"
beautifulsoup4 = "4.12.3"
pillow = "10.4.0"
sentry-sdk = "2.13.0"
PyYAML = "6.0.2"
emojis = "0.7.0"
coloredlogs = "15.0.1"
colorama = { version = "0.4.6", markers = "sys_platform == 'win32'" }
lxml = "5.3.0"
emoji = "2.12.1"
pyjokes = "0.8.3"
pydantic = { version = "2.6.4", extras = ["dotenv"]}
pydantic-settings = "2.2.1"
[tool.poetry.dev-dependencies]
pip-licenses = "5.0.0"
pre-commit = "3.8.0"
python-dotenv = "1.0.1"
ruff = "0.5.2"
taskipy = "1.13.0"
[tool.taskipy.tasks]
start = "python -m bot"
lint = "pre-commit run --all-files"
precommit = "pre-commit install"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
multi_line_output = 6
order_by_type = false
case_sensitive = true
combine_as_imports = true
line_length = 120
atomic = true
known_first_party = ["bot"]
[tool.ruff]
target-version = "py312"
extend-exclude = [".cache"]
output-format = "concise"
line-length = 120
unsafe-fixes = true
preview = true
[tool.ruff.lint]
select = ["ANN", "B", "C4", "D", "DTZ", "E", "F", "I", "ISC", "INT", "N", "PGH", "PIE", "Q", "RET", "RSE", "RUF", "S", "SIM", "T20", "TID", "UP", "W"]
ignore = [
"ANN002", "ANN003", "ANN101", "ANN102", "ANN204", "ANN206", "ANN401",
"B904",
"C401", "C408",
"D100", "D104", "D105", "D107", "D203", "D212", "D214", "D215", "D301",
"D400", "D401", "D402", "D404", "D405", "D406", "D407", "D408", "D409", "D410", "D411", "D412", "D413", "D414", "D416", "D417",
"E226", "E731",
"RET504",
"RUF005",
"RUF029",
"S311",
"SIM102", "SIM108",
]
[tool.ruff.lint.isort]
known-first-party = ["bot"]
order-by-type = false
case-sensitive = true
combine-as-imports = true