-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
41 lines (35 loc) · 937 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
[tool.uv.workspace]
members = ["bored-charts", "examples/full", "examples/minimal"]
[tool.uv]
dev-dependencies = [
"pytest>=8.3.2",
"mypy>=1.11.1",
"ruff>=0.5.7",
"types-markdown>=3.6.0.20240316",
"httpx>=0.27.0",
"pandas-stubs>=2.2.2.240807",
]
[tool.uv.sources]
bored-charts = { workspace = true }
[tool.pytest.ini_options]
addopts = "--doctest-modules --ignore-glob=examples/_alternatives/*"
[tool.mypy]
enable_incomplete_feature = ["NewGenericSyntax"]
strict = true
exclude = ["^examples/_.*$"]
[[tool.mypy.overrides]]
module = ["plotly.*", "seaborn.*", "vega_datasets.*"]
ignore_missing_imports = true
[tool.ruff.lint]
exclude = ["examples/_*"]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by ruff format)
"W505", # line too long (handled by ruff format)
]