aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
blob: 940e38333478c711a04cfb80bc672e7b572794f2 (plain) (blame)
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
[project]
authors = [
    {name = "Python Discord", email = "[email protected]"},
    {name = "Owl Corp", email = "[email protected]"},
]
license = {text = "MIT"}
requires-python = "==3.13.*"
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."
dependencies = [
    "pydis-core[all]==11.8.0",
    "arrow==1.3.0",
    "beautifulsoup4==4.12.3",
    "colorama==0.4.6; sys_platform == \"win32\"",
    "coloredlogs==15.0.1",
    "emoji==2.14.0",
    "emojis==0.7.0",
    "lxml==6.0.0",
    "pillow==11.0.0",
    "pydantic==2.10.1",
    "pydantic-settings==2.8.1",
    "pyjokes==0.8.3",
    "PyYAML==6.0.2",
    "rapidfuzz==3.12.2",
    "sentry-sdk==2.19.2",
]

[dependency-groups]
dev = [
    "pip-licenses==5.0.0",
    "pre-commit==4.0.1",
    "python-dotenv==1.0.1",
    "ruff==0.8.4",
    "taskipy==1.14.1",
]

[tool.uv]
prerelease = "allow"

[tool.taskipy.tasks]
start = "python -m bot"
lint = "pre-commit run --all-files"
precommit = "pre-commit install"

[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 = "py313"
extend-exclude = [".cache"]
output-format = "concise"
line-length = 120
unsafe-fixes = 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", "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