-
-
Notifications
You must be signed in to change notification settings - Fork 202
/
pyproject.toml
40 lines (35 loc) · 870 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
[project]
name = "valorant-discord-bot"
requires-python = ">=3.10"
[tool.pyright]
include = ["cogs"]
exclude = ["**/__pycache__", ".git", ".ruff_cache", ".venv"]
pythonVersion = "3.10"
typeCheckingMode = "basic"
reportUnnecessaryTypeIgnoreComment = "warning"
reportMissingParameterType = "error"
reportUnusedVariable = "warning"
[tool.ruff]
line-length = 120
target-version = "py310"
exclude = [".git", ".ruff_cache", ".venv"]
[tool.ruff.lint]
preview = true
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade,
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"TCH", # flake8-type-checking
]
ignore = [
"E501", # line-too-long
]
[tool.ruff.format]
quote-style = "single"
skip-magic-trailing-comma = false
[tool.ruff.lint.isort]
combine-as-imports = true