-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
52 lines (44 loc) · 1.12 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
[tool.poetry]
name = "wopr"
version = "0.1.0"
description = ""
readme = "README.md"
packages = []
[tool.poetry.dependencies]
python = "^3.10"
discord-py = "^2.2.2"
pynacl = "^1.5.0"
pydantic = {extras = ["dotenv"], version = "^1.10.7"}
loguru = "^0.7.0"
humanize = "^4.6.0"
beautifulsoup4 = "^4.12.2"
[tool.poetry.group.linting.dependencies]
black = "^23.3.0"
isort = "^5.12.0"
ruff = "0.0.263"
pre-commit = "^3.2.2"
[tool.poetry.group.dev.dependencies]
taskipy = "^1.10.4"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.taskipy.tasks]
start = "python -m wopr"
lint = "pre-commit run --all-files"
precommit = "pre-commit install"
isort = "isort ."
[tool.black]
line-length = 100
[tool.isort]
profile = "black"
line_length = 100
[tool.ruff]
target-version = "py310"
extend-exclude = [".cache"]
ignore = [
"ANN101", "ANN204",
"D107", "D203", "D213"
]
line-length = 100
select = ["ANN", "B", "C4", "D", "DTZ", "E", "F", "ISC", "INT", "N", "PGH", "PIE", "Q", "RET", "RSE", "RUF", "S", "SIM", "T20", "TID", "UP", "W"]