-
Notifications
You must be signed in to change notification settings - Fork 26
/
pyproject.toml
55 lines (50 loc) · 1.3 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
[project]
name = "databall"
version = "0.1.0"
description = "Betting on the NBA with data"
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"nba-api>=1.5.2",
"pandas>=2.2.3",
"pydantic>=2.9.2",
"scrapy>=2.11.2",
"sqlalchemy>=2.0.35",
"sqlmodel>=0.0.22",
]
[tool.ruff]
line-length = 88
exclude = ["*.ipynb"]
[tool.ruff.format]
docstring-code-format = true
quote-style = "double"
[tool.ruff.lint]
select = [
"A", # flake8-builtins
"B", # flake8-bugbear
"BLE", # flake8-blind-except
"C4", # flake8-comprehensions
"C90", # mccabe
"E", # pycodestyle (error)
"F", # pyflakes
"I", # isort
"PERF", # perflint
"PGH", # pygrep-hooks
"PIE", # flake8-pie
"PL", # pylint
"Q", # flake8-quotes
"W", # pycodestyle (warning)
"UP", # pyupgrade
]
ignore = [
"PLR0912", # too many branches: https://docs.astral.sh/ruff/rules/too-many-branches/
"PLR0913", # too many arguments: https://docs.astral.sh/ruff/rules/too-many-arguments/
"PLR0915", # too many statements: https://docs.astral.sh/ruff/rules/too-many-statements/
]
[tool.ruff.lint.mccabe]
max-complexity = 15
[tool.uv]
package = false
dev-dependencies = [
"ruff>=0.6.8",
]