-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
45 lines (39 loc) · 755 Bytes
/
Copy pathpyproject.toml
File metadata and controls
45 lines (39 loc) · 755 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
38
39
40
41
42
43
44
45
[tool.ruff]
line-length = 100
target-version = "py311"
extend-exclude = [
".venv",
"data",
"exports",
".pytest_cache",
".pytest-tmp"
]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["S101"]
[tool.bandit]
exclude_dirs = [
"tests",
".venv",
"data",
"exports",
".pytest_cache",
".pytest-tmp"
]
skips = ["B101"]
[tool.mypy]
python_version = "3.11"
ignore_missing_imports = true
follow_imports = "skip"
warn_unused_ignores = true
warn_redundant_casts = true
show_error_codes = true
exclude = "(^data/|^exports/|\\.venv/)"
[tool.coverage.run]
branch = true
source = ["core", "scripts", "tests"]
[tool.coverage.report]
skip_empty = true
show_missing = true