-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (49 loc) · 1.17 KB
/
Copy pathpyproject.toml
File metadata and controls
54 lines (49 loc) · 1.17 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
[tool.isort]
profile = "black"
line_length = 100
py_version = 311
src_paths = ["ml", "pipelines", "scripts", "ml_service", "tests"]
skip = [".git", ".venv", "env", "__pycache__", ".pytest_cache"]
[tool.ruff]
line-length = 100
target-version = "py311"
src = ["ml", "pipelines", "scripts", "ml_service", "tests"]
exclude = [
".git",
".venv",
"env",
"__pycache__",
".pytest_cache",
".mypy_cache",
"notebooks",
"feature_store",
"data",
"experiments"
]
[tool.ruff.lint]
select = ["E", "F", "I", "W", "B", "UP", "SIM", "N"]
ignore = ["E501", "N803", "N805", "N806"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
check_untyped_defs = true
no_implicit_optional = true
ignore_missing_imports = true
exclude = "(^notebooks/|^feature_store/|^data/|^experiments/)"
[tool.coverage.run]
branch = true
source = ["ml", "pipelines", "scripts", "ml_service"]
omit = [
"tests/*",
"notebooks/*",
"feature_store/*",
"data/*",
"experiments/*",
"scripts/generators/generate_fake_data.py" # Purposefully not tested
]
[tool.coverage.report]
show_missing = true
skip_covered = false