forked from OseSem/bot-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
67 lines (52 loc) · 1.36 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
[tool.poetry]
name = "void-studios-bot"
version = "1.0.0"
description = "A basic discord bot with disnake."
authors = ["Jaymart"]
license = "MIT"
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.10"
disnake = "^2.9.1"
disnake-ext-plugins = {git = "https://github.com/disnakecommunity/disnake-ext-plugins", rev = "d707e36"}
coloredlogs = "^15.0.1"
psutil = "^5.9.8"
helply = {git = "https://github.com/dlchamp/helply", rev = "a99f90f"}
tabulate = "^0.9.0"
humanfriendly = "^10.0"
yarl = "^1.9.4"
tortoise-orm = "^0.21.6"
[tool.poetry.group.dev.dependencies]
python-dotenv = "^1.0.0"
isort = "^5.13.2"
ruff = "^0.4.1"
black = "^24.4.0"
pre-commit = "^3.7.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.group.lint.dependencies]
disnake = "^2.9.1"
[tool.black]
line-length = 100
target-version = ["py310"]
[tool.isort]
profile = "black"
[tool.ruff]
line-length = 100
lint.select = ["ALL"]
lint.ignore = [
"ERA001", # commented out code.
"D100", # docstrings in public modules.
"D104", # docstrings in public package.
"G004", # f-string in logger message.
"ANN101", # self type hint.
]
[tool.ruff.lint.per-file-ignores]
"src/constants.py" = [
"RUF012", # mutable class attr
"S105", # hardcoded passwords, it's not.
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"