-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
51 lines (41 loc) · 1.09 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
[tool.poetry]
name = "kusogaki_bot"
version = "0.4.0"
description = "A discord bot for the Kusogaki discord server"
authors = ["Kusogaki"]
license = "GPL-3.0-or-later"
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.12"
discord-py = "^2.4.0"
python-dotenv = "^1.0.1"
sqlalchemy = "^2.0.36"
psycopg2-binary = "^2.9.10"
[tool.poetry.group.dev.dependencies]
ruff = "^0.8.6"
pre-commit = "^4.0.1"
poetry-plugin-export = "^1.8.0"
deptry = "^0.21.2"
[tool.poetry.scripts]
lint = "scripts.ruff:lint"
format = "scripts.ruff:format"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff.format]
quote-style = "single"
line-ending = "auto"
[tool.ruff.lint]
select = ["F", "E", "I"]
ignore = ["E501"]
[tool.ruff.lint.isort]
known-first-party = ["kusogaki-bot"]
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
combine-as-imports = true
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.deptry]
ignore = ["DEP001", "DEP003"]
[tool.deptry.per_rule_ignores]
DEP002 = ["psycopg2-binary"]