-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
92 lines (79 loc) · 2.13 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
89
90
91
92
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
requires-python = ">=3.9"
name = "olist_project"
readme = "README.md"
dynamic = ["version"]
dependencies = [
"ipython>=8.10",
"jupyterlab>=3.0",
"notebook",
"kedro[jupyter]~=0.19.10",
"kedro-datasets[pandas-csvdataset, pandas-exceldataset, pandas-parquetdataset, plotly-plotlydataset, plotly-jsondataset, matplotlib-matplotlibwriter]>=3.0",
"kedro-viz>=6.7.0",
"scikit-learn~=1.5.1",
"seaborn~=0.12.1"
]
[project.scripts]
"olist-project" = "olist_project.__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 = "olist_project.__version__"}
[tool.setuptools.packages.find]
where = ["src"]
namespaces = false
[tool.kedro]
package_name = "olist_project"
project_name = "olist_project"
kedro_init_version = "0.19.10"
tools = "['Linting', 'Testing', 'Custom Logging', 'Documentation', 'Data Structure', 'Kedro Viz']"
example_pipeline = "False"
source_dir = "src"
[tool.pytest.ini_options]
addopts = """
--cov-report term-missing \
--cov src/olist_project -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 = "de77cfd8a48848ed9fad0b0f15f2fbdb"
[tool.pylint.variables]
# Whitelist specific variable names
good-names = ['X', 'X_train', 'X_oot', 'X_dev', 'X_test_oot', 'X_val']