-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
67 lines (64 loc) · 1.6 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
[project]
name = "my-own-spotify-hitster"
version = "0.1.0"
description = "Add your description here"
authors = [
{ name = "Kevin Trebing", email = "[email protected]" }
]
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"nicegui>=2.5.0",
"pydantic-settings>=2.6.1",
"spotipy>=2.24.0",
]
[dependency-groups]
dev = [
"mypy>=1.13.0",
"pre-commit>=4.0.1",
"pytest>=8.3.3",
"ruff>=0.7.2",
]
[tool.ruff]
line-length = 120
exclude = [
".git",
".local",
".cache",
".venv",
"./venv",
".vscode",
"__pycache__",
"docs",
"build",
"dist",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade
"D", # pydocstyle
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"A", # flake8-builtins
"C90", # mccabe complexity
"I", # isort
"PT", # flake8-pytest-style
"RUF", # ruff
]
ignore = [
"B905", # length-checking in zip() only introduced with Python 3.10 (PEP618)
"D202", # No blank lines allowed after function docstring
"D100", # Missing docstring in public module
"D104", # Missing docstring in public package
"D205", # 1 blank line required between summary line and description
"D203", # One blank line before class docstring
"D212", # Multi-line docstring summary should start at the first line
"D415", # First line should end with a period, question mark, or exclamation point
]
[tool.ruff.lint.mccabe]
# Flag errors (`C901`) whenever the complexity level exceeds 10.
max-complexity = 10
[tool.mypy]
ignore_missing_imports=true