-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
88 lines (76 loc) · 1.98 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
requires-python = ">=3.9"
name = "e2e_ml_with_open_source"
readme = "README.md"
dynamic = ["version"]
dependencies = [
"ipython>=8.10",
"jupyterlab>=3.0",
"notebook",
"kedro~=0.19.9",
"kedro[jupyter]",
"kedro-datasets[pandas-csvdataset, pandas-exceldataset, pandas-parquetdataset]>=3.0",
"kedro-viz>=6.7.0",
"scikit-learn~=1.5.1"
]
[project.scripts]
"e2e-ml-with-open-source" = "e2e_ml_with_open_source.__main__:main"
[project.entry-points."kedro.hooks"]
[project.optional-dependencies]
docs = [
"docutils<0.21",
"sphinx>=5.3,<7.3",
"sphinx_rtd_theme==2.0.0",
"nbsphinx==0.8.1",
"sphinx-autodoc-typehints==1.20.2",
"sphinx_copybutton==0.5.2",
"ipykernel>=5.3, <7.0",
"Jinja2<3.2.0",
"myst-parser>=1.0,<2.1"
]
dev = [
"pytest-cov~=3.0",
"pytest-mock>=1.7.1, <2.0",
"pytest~=7.2",
"ruff~=0.1.8"
]
[tool.setuptools.dynamic]
version = {attr = "e2e_ml_with_open_source.__version__"}
[tool.setuptools.packages.find]
where = ["src"]
namespaces = false
[tool.kedro]
package_name = "e2e_ml_with_open_source"
project_name = "e2e-ml-with-open-source"
kedro_init_version = "0.19.9"
tools = "['Linting', 'Testing', 'Custom Logging', 'Documentation', 'Data Structure']"
example_pipeline = "True"
source_dir = "src"
[tool.pytest.ini_options]
addopts = """
--cov-report term-missing \
--cov src/e2e_ml_with_open_source -ra"""
[tool.coverage.report]
fail_under = 0
show_missing = true
exclude_lines = ["pragma: no cover", "raise NotImplementedError"]
[tool.ruff.format]
docstring-code-format = true
[tool.ruff]
line-length = 88
show-fixes = true
select = [
"F", # Pyflakes
"W", # pycodestyle
"E", # pycodestyle
"I", # isort
"UP", # pyupgrade
"PL", # Pylint
"T201", # Print Statement
]
ignore = ["E501"] # Ruff format takes care of line-too-long
[tool.kedro_telemetry]
project_id = "34f132b4bb684dc5927db5c957f4e4b0"