-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
37 lines (31 loc) · 803 Bytes
/
pyproject.toml
File metadata and controls
37 lines (31 loc) · 803 Bytes
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
[project]
name = "awsdd"
version = "0.1.0"
description = "aws-deepdive shared collection / scoring / reporting package"
requires-python = ">=3.12"
[tool.ruff]
line-length = 100
target-version = "py312"
extend-exclude = [".venv", "web/node_modules", "web/dist", "web/.astro", "_notes"]
[tool.ruff.lint]
select = ["E", "W", "F", "I", "B", "UP", "SIM"]
ignore = [
"E501", # line length handled by formatter
"SIM108", # ternary nags
]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["B011"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra --strict-markers"
pythonpath = ["scripts"]
[tool.coverage.run]
source = ["awsdd"]
branch = true
[tool.coverage.report]
show_missing = true
skip_covered = false
exclude_lines = [
"pragma: no cover",
"if __name__ == .__main__.:",
]