-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
54 lines (48 loc) · 1 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
[tool.poetry]
name = "modmail-plugins"
version = "0.1.0"
description = "Raiden's plugins for Python Discord Modmail bot"
authors = ["Raiden Sakura <[email protected]>"]
license = "LICENSE"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.9,<3.12"
[tool.poetry.group.dev.dependencies]
black = "^23.12.0"
ruff = "^0.1.8"
pre-commit = "^3.6.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = "110"
target-version = ['py311']
include = '\.pyi?$'
extend-exclude = '''
(
/(
\.eggs
| \.git
| \.venv
| venv
| venv2
| _build
| build
| dist
| plugins
| temp
)/
)
'''
[tool.ruff]
target-version = "py310"
line-length = 110
select = ["C90", "E", "F", "I001", "PGH004", "RUF100"]
ignore = ["F405", "E741", "C901", "F403", "E501"]
fix = true
fixable = ["I001"]
isort.combine-as-imports = true
force-exclude = true
[tool.ruff.mccabe]
# Unlike Flake8, default to a complexity level of 10.
max-complexity = 25