-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (57 loc) · 1.74 KB
/
pyproject.toml
File metadata and controls
64 lines (57 loc) · 1.74 KB
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
[project]
name = "multi-armed-bandits"
version = "0.1.0"
description = "Multi-armed bandit algorithms."
authors = [
{ name = "Juraj Zelman"},
]
readme = "README.md"
requires-python = ">=3.11,<3.12"
dependencies = [
"numpy>=1.26.3",
"matplotlib>=3.8.2",
"pyarrow>=15.0.0",
"ipykernel>=6.29.0",
"polars>=1.36.1",
]
[project.optional-dependencies]
dev = [
"ruff>=0.6.5",
"pre-commit>=4.2.0",
"pytest>=8.3.5",
"pytest-cov>=6.1.1",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
line-length = 100
indent-width = 4
[tool.ruff.lint]
select = [
"E", # pycodestyle errors (code style violations)
"W", # pycodestyle warnings (potential style issues)
"F", # pyflakes (undefined names, unused imports)
"I", # isort (import sorting and organization)
"B", # flake8-bugbear (common Python programming mistakes)
"C4", # flake8-comprehensions (list/dict/set comprehension improvements)
"N", # PEP8 naming conventions (variable and function naming)
"D", # pydocstyle (docstring style and presence)
"D213", # multi-line docstring summary should start at the first line
]
ignore = [
"C901", # cyclomatic complexity too high (overly complex functions)
"W191", # indentation contains tabs (use spaces instead)
"D401", # imperative mood in docstrings (first line should be imperative)
"D212", # multi-line docstring summary should start at the first line
"D205", # missing blank line after summary line in docstrings
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.hatch.build.targets.wheel]
include = ["*"]