-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
48 lines (42 loc) · 1014 Bytes
/
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
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=64", "wheel", "setuptools_scm>=8"]
[tool.setuptools_scm]
write_to = "src/disco_snake/_version.py"
[tool.black]
line-length = 110
target-version = ['py310']
ignore = [
'F841', # local variable assigned but never used
'E501', # line too long (black fixes this so why does it complain?)
]
[tool.ruff]
line-length = 110
target-version = 'py310'
ignore = [
'F841', # local variable assigned but never used
'E501', # line too long (black handles this)
]
extend-exclude = ["/usr/lib/*"]
[tool.ruff.isort]
combine-as-imports = true
force-wrap-aliases = true
known-local-folder = ["src"]
known-first-party = [
"ai",
"cogs",
"db",
"disco_snake",
"exceptions",
"helpers",
"logsnake",
"multisnake",
"shimeji",
]
known-third-party = ["alembic", "disnake"]
[tool.pyright]
include = ['src/**']
exclude = ['/usr/lib/**']
stubPath = './typings'
[tool.mypy]
plugins = "disnake.ext.mypy_plugin"