-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
70 lines (63 loc) · 1.28 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
[tool.poetry]
name = "template"
version = "0.1.0"
description = "Template for nextcord discord bots"
authors = ["ooliver1 <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.11"
nextcord = { extras = ["speed"], version = "^2.3.2" }
uvloop = "^0.17.0"
ooliver-botbase = { version = "^2.0.2", extras = ["db"] }
alembic = "^1.10.4"
taskipy = "^1.10.4"
delarva = { git = "https://github.com/ooliver1/delarva" }
[tool.poetry.group.dev.dependencies]
isort = "^5.12.0"
black = "^23.3.0"
pre-commit = "^3.3.1"
[tool.taskipy.tasks]
start = "python -m botunderscorename"
lint = "pre-commit run --all-files"
precommit = "pre-commit install --install-hooks"
[tool.ruff]
select = [
"E",
"F",
"W",
"C90",
"I",
"N",
"UP",
"ANN",
"S",
"BLE",
"B",
"C4",
"DTZ",
"ISC",
"G",
"PIE",
"Q",
"RSE",
"RET",
"SIM",
"TCH",
"ARG",
"PTH",
"PGH",
"PLC",
"PLE",
"PLR",
"PLW",
"TRY",
"RUF",
]
ignore = ["S101", "ANN101", "ANN102", "F405", "S311"]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401", "F403"]
[tool.ruff.flake8-type-checking]
exempt-modules = ["botunderscorename.inter"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"